71712: Check script exists with findBy Id & new tests & test fixes

This commit is contained in:
Marie Verdonck
2020-07-07 12:42:33 +02:00
parent 902d4c2330
commit d2523ade9b
4 changed files with 177 additions and 14 deletions

View File

@@ -378,7 +378,7 @@ export class AdminSidebarComponent extends MenuComponent implements OnInit {
id: 'export_metadata',
parentID: 'export',
active: true,
visible: authorized && metadataExportScriptExists,
visible: (authorized && metadataExportScriptExists),
model: {
type: MenuItemType.ONCLICK,
text: 'menu.section.export_metadata',