From e1ef5f08000ea0ca25c3a05d22369592b4089d7d Mon Sep 17 00:00:00 2001 From: Jordan Dalby Date: Sat, 30 Nov 2024 12:05:13 +0000 Subject: [PATCH] Restrict embeds to unauthenticated shares only --- .../components/snippets/share/ShareMenu.tsx | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/client/src/components/snippets/share/ShareMenu.tsx b/client/src/components/snippets/share/ShareMenu.tsx index 4b2a8eb..1c80d34 100644 --- a/client/src/components/snippets/share/ShareMenu.tsx +++ b/client/src/components/snippets/share/ShareMenu.tsx @@ -233,11 +233,21 @@ export const ShareMenu: React.FC = ({ isOpen, onClose, snippet } )}