Skip to content

Commit e2fa5b6

Browse files
authored
Merge pull request #130 from pneumaticapp/frontend/tasks/44654__do_not_pass_a_value_if_the_template_or_task_filters_are_not_filled_in
44654 frontend [ My tasks ] Do not pass a value if the template or task filters are not filled in
2 parents 2a92bbd + a0e2618 commit e2fa5b6

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ nginx/keys
88
nginx/config/nginx.conf
99
firebase-push.json
1010

11+
# Playwright / E2E
12+
frontend/e2e
13+
frontend/playwright-report
14+
frontend/test-results
15+
1116
.vscode/
1217
.cursor/
1318
.cursorrules/
@@ -16,3 +21,4 @@ firebase-push.json
1621
.agents/
1722
.antigravity/
1823

24+

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)