From 2964dda0d185f161b5f52953b5b6c23ddbfb51b7 Mon Sep 17 00:00:00 2001 From: Meik Date: Sun, 9 Nov 2025 22:52:29 +0100 Subject: [PATCH] fix: restrict delete button to admins --- src/App.js | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/App.js b/src/App.js index 188611b..95ff51c 100644 --- a/src/App.js +++ b/src/App.js @@ -1827,28 +1827,30 @@ function App() { Klicke zum Auswählen - -
- + +
+ + {session?.isAdmin && ( -
- + )} +
+ ); })} @@ -2405,4 +2407,4 @@ function StoreSyncOverlay({ state }) { ); } -export default App; +export default App; \ No newline at end of file