Skip to content

Commit 1c7cc70

Browse files
44654 fix(requests): correctly add template parameters and template tasks
1 parent 3e82c18 commit 1c7cc70

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/public/components/Tasks/container.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const SyncedTasks = withSyncedQueryString<TTasksStoreProps>(
123123

124124
return setFilterTemplate(null);
125125
},
126-
getQueryParamByProp: String,
126+
getQueryParamByProp: (value) => (value ? String(value) : ''),
127127
},
128128
{
129129
propName: 'taskApiNameFilter',
@@ -137,7 +137,7 @@ const SyncedTasks = withSyncedQueryString<TTasksStoreProps>(
137137

138138
return setFilterStep(null);
139139
},
140-
getQueryParamByProp: String,
140+
getQueryParamByProp: (value) => (value ? String(value) : ''),
141141
},
142142
],
143143
resetTasksFilters(),

0 commit comments

Comments
 (0)