From 26ed650f605246ed0e15d71eff1596899ad3e7e2 Mon Sep 17 00:00:00 2001 From: Yago Diaz Date: Wed, 22 Jul 2026 12:04:37 +0200 Subject: [PATCH 1/4] fixed multiple tabs performance issue #2356 --- .../main/settings_machine_tabs_head.html.ep | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/main/settings_machine_tabs_head.html.ep b/templates/main/settings_machine_tabs_head.html.ep index 47ec1d683..d330f2e9d 100644 --- a/templates/main/settings_machine_tabs_head.html.ep +++ b/templates/main/settings_machine_tabs_head.html.ep @@ -1,6 +1,6 @@ % } -% if ($USER->can_change_settings($domain->id) && !$domain->is_base ) { -
+% if ($USER->can_change_settings($domain->id)) { +
%= include 'main/vm_screenshot'
% } @@ -33,8 +33,8 @@ %= include 'main/vm_hardware'
% } -% if ($USER->can_change_settings($domain->id) && !$domain->is_base) { -
+% if ($USER->can_change_settings($domain->id)) { +
%= include 'main/vm_actions'
% } @@ -42,7 +42,7 @@ %= include 'main/vm_copy'
% if ( $USER->is_admin) { -
+
%= include 'main/vm_clones'
% } @@ -61,8 +61,8 @@ %= include 'main/vm_remove'
% } -% if ( $monitoring && $USER->is_admin && $domain->is_active && $domain->internal_id) { -
+% if ( $monitoring && $USER->is_admin && $domain->internal_id) { +
%= include 'main/vm_monitoring'
% } From 1069585bf18c59676f143743d44c31722a0b5e08 Mon Sep 17 00:00:00 2001 From: Yago Diaz Date: Fri, 24 Jul 2026 10:23:34 +0200 Subject: [PATCH 3/4] implemented copilot proposed changes issue #2356 --- templates/main/settings_machine_tabs_head.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/main/settings_machine_tabs_head.html.ep b/templates/main/settings_machine_tabs_head.html.ep index d330f2e9d..e66565aec 100644 --- a/templates/main/settings_machine_tabs_head.html.ep +++ b/templates/main/settings_machine_tabs_head.html.ep @@ -1,6 +1,6 @@