Commit 587a29de authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

ui: Disable suspended vm actions

parent a5aae327
......@@ -1389,6 +1389,7 @@
// get actions that the user can execute
// depending on the vm state/status
get_available_actions: function() {
if (this.get('suspended')) { return [] }
return models.VM.AVAILABLE_ACTIONS[this.state()];
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 to comment