summaryrefslogtreecommitdiffstats
path: root/assets/playground.html
diff options
context:
space:
mode:
Diffstat (limited to 'assets/playground.html')
-rw-r--r--assets/playground.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/playground.html b/assets/playground.html
index 34379e4..fdcadbc 100644
--- a/assets/playground.html
+++ b/assets/playground.html
@@ -1001,6 +1001,9 @@
},
handleRoleChange() {
+ if (this.settings.prompt && !this.settings.role) {
+ return;
+ }
this.settings.prompt = this.roles.find(role => role.name === this.settings.role).prompt;
},