mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
13675-Hide items in Templates reports
This commit is contained in:
parent
70fe2c8e8a
commit
ca05b6d81f
@ -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;
|
||||
}
|
||||
|
@ -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";
|
||||
}
|
||||
';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user