This commit is contained in:
Timothy Jaeryang Baek committed 2025-05-30 01:33:49 +04:00
1 parent b2befd486f
commit 235489cfc5
2 files changed
+2 -2

No files matched your search

@@ -72,7 +72,7 @@
command = prompt.command.at(0) === '/' ? prompt.command.slice(1) : prompt.command; command = prompt.command.at(0) === '/' ? prompt.command.slice(1) : prompt.command;
content = prompt.content; content = prompt.content;
accessControl = prompt?.access_control ?? null; accessControl = prompt?.access_control === undefined ? {} : prompt?.access_control;
} }
}); });
</script> </script>
@@ -42,7 +42,7 @@
title: _prompt.title, title: _prompt.title,
command: _prompt.command, command: _prompt.command,
content: _prompt.content, content: _prompt.content,
access_control: _prompt?.access_control ?? null access_control: _prompt?.access_control === undefined ? {} : _prompt?.access_control
}; };
} else { } else {
goto('/workspace/prompts'); goto('/workspace/prompts');