Skip to content

Commit 409bdaf

Browse files
remove workflowTab from params in v1 component
Signed-off-by: Adhitya Mamallan <[email protected]>
1 parent 0e28730 commit 409bdaf

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

src/views/workflow-history-v2/workflow-history-event-details/workflow-history-event-details.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ export default function WorkflowHistoryEventDetails({
4242
<styled.RestDetails>
4343
<WorkflowHistoryEventDetailsGroup
4444
entries={restDetails}
45-
decodedPageUrlParams={{
46-
...workflowPageParams,
47-
workflowTab: 'history',
48-
}}
45+
decodedPageUrlParams={workflowPageParams}
4946
/>
5047
</styled.RestDetails>
5148
</styled.EventDetailsContainer>

src/views/workflow-history-v2/workflow-history-panel-details-entry/workflow-history-panel-details-entry.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ export default function WorkflowHistoryPanelDetailsEntry({
3131
<WorkflowHistoryEventDetailsGroup
3232
entries={detail.groupEntries}
3333
parentGroupPath={detail.path}
34-
decodedPageUrlParams={{
35-
...workflowPageParams,
36-
workflowTab: 'history',
37-
}}
34+
decodedPageUrlParams={workflowPageParams}
3835
/>
3936
) : (
4037
detail.value
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { type WorkflowPageTabsParams } from '@/views/workflow-page/workflow-page-tabs/workflow-page-tabs.types';
1+
import { type WorkflowPageParams } from '@/views/workflow-page/workflow-page.types';
22

33
import { type WorkflowHistoryEventDetailsEntries } from '../workflow-history-event-details/workflow-history-event-details.types';
44

55
export type Props = {
66
entries: WorkflowHistoryEventDetailsEntries;
77
parentGroupPath?: string;
8-
decodedPageUrlParams: WorkflowPageTabsParams;
8+
decodedPageUrlParams: WorkflowPageParams;
99
};
1010

1111
export type EventDetailsLabelKind = 'regular' | 'group' | 'negative';

0 commit comments

Comments
 (0)