-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Summary
The configurable actions component is meant to be a general purpose component
which can be reused in multiple places.
The appConfig includes multiple switches datasetActionsEnabled, datafilesActionsEnabled, datasetDetailsActionsEnabled and datasetSelectionActionsEnabled.
While currently only datasetActions and datafilesActions are implemented,
the isVisible function of the component depends only on datafilesActionsEnabled,
which means if only datasetActionsEnabled is true, the component is not rendered.
See line 19 in the code:
frontend/src/app/shared/modules/configurable-actions/configurable-actions.component.ts
Line 19 in ee7e108
| return this.appConfigService.getConfig().datafilesActionsEnabled; |
Steps to Reproduce
set datasetActionsEnabled: true and datafilesActionsEnabled: false in the frontend config
Current Behaviour
the datasetActions component(s) are not rendered
Expected Behaviour
the switch datasetActionsEnabled should enable the component even if datafilesActions are disabled.