File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import PageSection from '@/components/page-section/page-section';
1313import { type PageQueryParamSetterValues } from '@/hooks/use-page-query-params/use-page-query-params.types' ;
1414import useStyletronClasses from '@/hooks/use-styletron-classes' ;
1515import type domainPageQueryParamsConfig from '@/views/domain-page/config/domain-page-query-params.config' ;
16+ import type domainPageTabsConfig from '@/views/domain-page/config/domain-page-tabs.config' ;
1617
1718import WorkflowPageStatusTag from '../workflow-page-status-tag/workflow-page-status-tag' ;
1819
@@ -47,7 +48,12 @@ export default function WorkflowPageHeader({
4748 < StyledLink
4849 $as = { Link }
4950 href = { queryString . stringifyUrl ( {
50- url : domainLink + '/workflows' ,
51+ url :
52+ domainLink +
53+ '/' +
54+ // ensuring that this tab exists in config
55+ ( 'workflows' satisfies ( typeof domainPageTabsConfig ) [ number ] [ 'key' ] ) ,
56+ // ensuring that these query params exist in config
5157 query : {
5258 search : workflowId ,
5359 } satisfies Partial <
You can’t perform that action at this time.
0 commit comments