fix (console): view database launches wrong route

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6747
GitOrigin-RevId: bc59aacff64bedd5a97ee03c0ff8783f0bd42b15
This commit is contained in:
Vijay Prasanna 2022-11-05 00:36:34 +05:30 committed by hasura-bot
parent 8f0a0becab
commit c447044020

View File

@ -46,7 +46,9 @@ export const GDCDatabaseListItem: React.FC<GDCDatabaseListItemItemProps> = ({
className="mr-xs"
isLoading={isDropSourceInProgress}
onClick={() => {
dispatch(_push(`/data/v2/manage?database=${dataSource.name}`));
dispatch(
_push(`/data/v2/manage/database?database=${dataSource.name}`)
);
}}
disabled={isInconsistentDataSource}
>