mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-23 15:37:50 +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
|
//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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user