diff options
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/playground.html | 3 |
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; }, |
