From 40764d91cfd0eab6aad9c5c84443a0ee01d32c09 Mon Sep 17 00:00:00 2001 From: Peter De-Ath Date: Fri, 25 Oct 2024 22:54:12 +0100 Subject: [PATCH] fix: folders not renamed on enter key --- src/lib/components/layout/Sidebar/RecursiveFolder.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/layout/Sidebar/RecursiveFolder.svelte b/src/lib/components/layout/Sidebar/RecursiveFolder.svelte index 2779d53ae..012d10015 100644 --- a/src/lib/components/layout/Sidebar/RecursiveFolder.svelte +++ b/src/lib/components/layout/Sidebar/RecursiveFolder.svelte @@ -396,6 +396,7 @@ }} on:keydown={(e) => { if (e.key === 'Enter') { + nameUpdateHandler(); edit = false; } }}