mirror of
https://github.com/makeplane/plane.git
synced 2025-12-23 23:29:37 +01:00
[WEB-830] chore: project filter dropdown custom date select option improvement (#4069)
* chore: project filter dropdown custom date select option improvement * fix: project filter custom date
This commit is contained in:
committed by
GitHub
parent
68ebcfd04e
commit
e7fc942514
@@ -57,6 +57,7 @@ export const ProjectsHeader = observer(() => {
|
||||
if (Array.isArray(value))
|
||||
value.forEach((val) => {
|
||||
if (!newValues.includes(val)) newValues.push(val);
|
||||
else newValues.splice(newValues.indexOf(val), 1);
|
||||
});
|
||||
else {
|
||||
if (filters?.[key]?.includes(value)) newValues.splice(newValues.indexOf(value), 1);
|
||||
|
||||
Reference in New Issue
Block a user