#11406 Fixed the bug that allows to show the delete icon of the OS component

This commit is contained in:
Jorge Rincon 2023-05-31 15:10:01 +02:00
parent 6bec8d8c8a
commit 0658282306
1 changed files with 2 additions and 3 deletions

View File

@ -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
);