mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-23 23:47:43 +01:00
Update public/scripts/PromptManager.js
Co-authored-by: valadaptive <79560998+valadaptive@users.noreply.github.com>
This commit is contained in:
parent
2109a7bda1
commit
d46a551d78
@ -1553,7 +1553,7 @@ class PromptManager {
|
||||
|
||||
//add role icons to the right of prompt name
|
||||
|
||||
const hasRole = prompt.role ? true : false;
|
||||
const hasRole = !!prompt.role;
|
||||
let roleIcon, roleTitle;
|
||||
if (hasRole) {
|
||||
switch (prompt.role) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user