Update PromptEditor.svelte

This commit is contained in:
Silentoplayz 2025-06-03 17:24:54 -04:00
parent 2a6d2392a0
commit 6ebf522a27

View File

@ -70,7 +70,6 @@
title = prompt.title; title = prompt.title;
await tick(); await tick();
command = prompt.command.at(0) === '/' ? prompt.command.slice(1) : prompt.command; command = prompt.command.at(0) === '/' ? prompt.command.slice(1) : prompt.command;
hasManualEdit = true;
content = prompt.content; content = prompt.content;
accessControl = prompt?.access_control === undefined ? {} : prompt?.access_control; accessControl = prompt?.access_control === undefined ? {} : prompt?.access_control;