console: redirect issue with inconsistent db status

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3768
GitOrigin-RevId: b2b2876b862618a65204fc27f561b5edc980f11d
This commit is contained in:
Varun Choudhary 2022-02-24 17:29:35 +05:30 committed by hasura-bot
parent f43704fb4a
commit 6c2c46e94e

View File

@ -133,9 +133,7 @@ class Main extends React.Component {
this.props.metadata.inconsistentInheritedRoles.length > 0 &&
!this.props.inconsistentInheritedRole
) {
this.props.dispatch(
_push(`${globals.urlPrefix}/settings/metadata-status`)
);
this.props.dispatch(_push(`/settings/metadata-status`));
}
}