Update public/scripts/PromptManager.js

Co-authored-by: valadaptive <79560998+valadaptive@users.noreply.github.com>
This commit is contained in:
Cohee 2024-12-31 14:36:56 +02:00 committed by GitHub
parent 2109a7bda1
commit d46a551d78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1553,7 +1553,7 @@ class PromptManager {
//add role icons to the right of prompt name //add role icons to the right of prompt name
const hasRole = prompt.role ? true : false; const hasRole = !!prompt.role;
let roleIcon, roleTitle; let roleIcon, roleTitle;
if (hasRole) { if (hasRole) {
switch (prompt.role) { switch (prompt.role) {