Unverified Commit 1f45a31e authored by robertperez-upc's avatar robertperez-upc Committed by GitHub
Browse files

Disable reboot buttons if domain not active (#1491)

parent 01cbada8
......@@ -2377,6 +2377,9 @@ sub _enable_buttons {
$c->stash(_shutdown_disabled => '');
$c->stash(_shutdown_disabled => 'disabled') if !$domain->is_active;
$c->stash(_reboot_disabled => '');
$c->stash(_reboot_disabled => 'disabled') if !$domain->is_active;
$c->stash(_start_disabled => '');
$c->stash(_start_disabled => 'disabled') if $domain->is_active;
......
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