From 1396dd26118afecb199fff1bab896454e291c80e Mon Sep 17 00:00:00 2001
From: kamtschatka <simon.schatka@gmx.at>
Date: Sat, 13 Jul 2024 14:17:40 +0200
Subject: feature(web): Save title and tag name changes on enter. Fixes #283
 (#293)

allowing to press enter to submit changes
Applies to tags and bookmark titles
---
 apps/web/components/dashboard/EditableText.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'apps/web/components/dashboard/EditableText.tsx')

diff --git a/apps/web/components/dashboard/EditableText.tsx b/apps/web/components/dashboard/EditableText.tsx
index a8f61c13..55ce10c6 100644
--- a/apps/web/components/dashboard/EditableText.tsx
+++ b/apps/web/components/dashboard/EditableText.tsx
@@ -58,6 +58,7 @@ function EditMode({
         onKeyDown={(e) => {
           if (e.key === "Enter") {
             e.preventDefault();
+            onSave();
           }
         }}
       />
-- 
cgit v1.2.3-70-g09d2

