Commit c86f5ba1 by Nyíri Tamás

Fixed 'Save resources' button in 'Suspended' state

closes #422
parent f4363207
......@@ -174,8 +174,10 @@ class VmDetailView(GraphMixin, CheckedDetailView):
context['is_owner'] = is_owner
# operation also allows RUNNING (if with_shutdown is present)
context['save_resources_enabled'] = instance.status not in ("RUNNING",
"PENDING")
context['save_resources_enabled'] = instance.status not in (
"RUNNING",
"PENDING",
"SUSPENDED")
return context
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment