Skip to content

Commit e3a61a5

Browse files
fix: Workflow History V2 - pass encoded history params to workflow history fetcher (#1134)
Pass encoded workflow history params to workflow history fetcher, to allow it to load history of workflows with special characters Signed-off-by: Adhitya Mamallan <adhitya.mamallan@uber.com>
1 parent 0e312d9 commit e3a61a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ import {
5252
export default function WorkflowHistoryV2({ params }: Props) {
5353
const decodedParams = decodeUrlParams<WorkflowPageTabContentParams>(params);
5454

55-
const { workflowTab, ...historyQueryParams } = decodedParams;
55+
const { workflowTab, ...encodedHistoryQueryParams } = params;
5656
const wfHistoryRequestArgs = {
57-
...historyQueryParams,
57+
...encodedHistoryQueryParams,
5858
pageSize: WORKFLOW_HISTORY_PAGE_SIZE_CONFIG,
5959
waitForNewEvent: true,
6060
};

0 commit comments

Comments
 (0)