From 0658282306746dcde0f0e8a766bf61885984ee16 Mon Sep 17 00:00:00 2001 From: Jorge Rincon Date: Wed, 31 May 2023 15:10:01 +0200 Subject: [PATCH] #11406 Fixed the bug that allows to show the delete icon of the OS component --- pandora_console/godmode/setup/os.list.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pandora_console/godmode/setup/os.list.php b/pandora_console/godmode/setup/os.list.php index 0322fe79f1..5dbd74ec86 100644 --- a/pandora_console/godmode/setup/os.list.php +++ b/pandora_console/godmode/setup/os.list.php @@ -66,7 +66,7 @@ $table->head[1] = __('Icon'); $table->head[2] = __('Name'); $table->head[3] = __('Description'); if ($is_management_allowed === true) { - $table->head[4] = ''; + $table->head[4] = __('Actions'); } if ($is_management_allowed === true) { @@ -132,8 +132,7 @@ foreach ($osList as $os) { $data[] = html_print_anchor( [ 'href' => $hrefDelete, - 'class' => 'invert_filter main_menu_icon', - 'content' => html_print_image('images/delete.svg', true), + 'content' => html_print_image('images/delete.svg', true, ['class' => 'main_menu_icon invert_filter']), ], true );