diff --git a/app/templates/default/containers/index.html b/app/templates/default/containers/index.html
index d3dcd56..da7b2d9 100644
--- a/app/templates/default/containers/index.html
+++ b/app/templates/default/containers/index.html
@@ -45,8 +45,12 @@
{{ '%0.2f' | format(size_gb|float) }}GB
- {% set memory_mb = (container.memory / 1024 / 1024) %}
- {{ '%0.2f' | format(memory_mb|float) }}MB
+ {% if container['status'] == 1 %}
+ {% set memory_mb = (container.memory / 1024 / 1024) %}
+ {{ '%0.2f' | format(memory_mb|float) }}MB
+ {% else %}
+ 0MB
+ {% endif %}
|
{% if container['status'] == 0 %}
|