13675-Hide items in Templates reports

This commit is contained in:
Pablo Aragon 2024-05-03 09:18:32 +02:00
parent 70fe2c8e8a
commit ca05b6d81f
2 changed files with 66 additions and 70 deletions

View File

@ -965,7 +965,6 @@ function reports_get_report_types($template=false, $not_editor=false)
'optgroup' => __('Permissions report'),
'name' => __('Permissions report'),
];
}
$types['ncm_backups'] = [
'optgroup' => __('NCM'),
@ -1048,6 +1047,7 @@ function reports_get_report_types($template=false, $not_editor=false)
'name' => __('Top-N common vulnerabilities'),
];
}
}
return $types;
}

View File

@ -170,10 +170,6 @@ class JavaScript extends Renderer
if (chart.config.options.title !== undefined ) {
chart.config.options.title.fontColor = "#ffffff";
}
if (chart.config.options.plugins.legend.labels.font !== undefined ) {
chart.config.options.plugins.legend.labels.font.color = "#ffffff";
}
';
}
}