diff --git a/src/lib/components/workspace/Prompts/PromptEditor.svelte b/src/lib/components/workspace/Prompts/PromptEditor.svelte index 042a25939..61ec69e4e 100644 --- a/src/lib/components/workspace/Prompts/PromptEditor.svelte +++ b/src/lib/components/workspace/Prompts/PromptEditor.svelte @@ -5,6 +5,8 @@ import { toast } from 'svelte-sonner'; import Tooltip from '$lib/components/common/Tooltip.svelte'; import AccessControl from '../common/AccessControl.svelte'; + import LockClosed from '$lib/components/icons/LockClosed.svelte'; + import AccessControlModal from '../common/AccessControlModal.svelte'; export let onSubmit: Function; export let edit = false; @@ -20,6 +22,8 @@ let accessControl = null; + let showAccessControlModal = false; + $: if (!edit) { command = title !== '' ? `${title.replace(/\s+/g, '-').toLowerCase()}` : ''; } @@ -64,6 +68,8 @@ }); + +
-
+
+ +
+ +
@@ -141,12 +163,6 @@
-
-
- -
-
-