Skip to content

Reloading /admin/servers page does not recognize deployments module enabled #475

@landonreed

Description

@landonreed

Observed behavior (please include a screenshot if possible)

Reloading http://localhost:9966/admin/servers on the deploy-to-ec2 branch fails to take in the appinfo config info when checking if the deployment module is enabled at:

case 'servers':
if (!isApplicationAdmin || !isModuleEnabled('deployment')) return restricted
return <ServerSettings editDisabled={false} />

Expected behavior

Module check should take into account server appinfo config data.

Steps to reproduce the problem

Navigate to http://localhost:9966/admin/servers and reload the page. You will not be able to access the page even if the deployment module is enabled.

Any special notes on configuration used

localhost config

Version of datatools-ui and datatools-server if applicable (exact commit hash or branch name)

ui: 20e411c
server: ibi-group/datatools-server@e1fe1a3

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions