From 0960b585bd79f65c69803943974850b77eaa2c0a Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 15 Dec 2025 07:25:49 +0200 Subject: [PATCH] fix(layout): note actions button duplicated in old layout --- apps/client/src/widgets/ribbon/NoteActions.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/apps/client/src/widgets/ribbon/NoteActions.tsx b/apps/client/src/widgets/ribbon/NoteActions.tsx index 487379f0d..ad2c281a4 100644 --- a/apps/client/src/widgets/ribbon/NoteActions.tsx +++ b/apps/client/src/widgets/ribbon/NoteActions.tsx @@ -32,11 +32,15 @@ export default function NoteActions() { const { note, ntxId, noteContext } = useNoteContext(); return (
- {note && ntxId && } - - - - + {isNewLayout && ( + <> + {note && ntxId && } + + + + + + )} {note && !isNewLayout && } {note && note.type !== "launcher" && }