aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/lists
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-07-17 08:51:13 +0000
committerMohamed Bassem <me@mbassem.com>2025-07-17 08:51:13 +0000
commit8bd3b586c6bc9f697f93f4c4b7083adabb479242 (patch)
tree104d5680ae031b33004813f8202ac669425685d9 /apps/web/components/dashboard/lists
parentfe69ca8ce88b51b0117aebfbb512fef16b4ebb35 (diff)
downloadkarakeep-8bd3b586c6bc9f697f93f4c4b7083adabb479242.tar.zst
fix(web): Fix the clear parent button in the edit list dialog. Fixes #1742
Diffstat (limited to 'apps/web/components/dashboard/lists')
-rw-r--r--apps/web/components/dashboard/lists/EditListModal.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/components/dashboard/lists/EditListModal.tsx b/apps/web/components/dashboard/lists/EditListModal.tsx
index 467ce1a1..e1dd49f4 100644
--- a/apps/web/components/dashboard/lists/EditListModal.tsx
+++ b/apps/web/components/dashboard/lists/EditListModal.tsx
@@ -306,7 +306,7 @@ export function EditListModal({
type="button"
variant="ghost"
onClick={() => {
- form.reset({ parentId: null });
+ form.resetField("parentId");
}}
>
<X />