fix deleting QR set that's in chat config

This commit is contained in:
LenAnderson 2023-12-26 12:16:45 +00:00
parent 89e94edc57
commit d51098a90b
1 changed files with 2 additions and 2 deletions

View File

@ -233,8 +233,8 @@ export class SettingsUi {
}
if (this.settings.chatConfig) {
for (let i = this.settings.chatConfig.setList.length - 1; i >= 0; i--) {
if (this.settings.config.setList[i].set == qrs) {
this.settings.config.setList.splice(i, 1);
if (this.settings.chatConfig.setList[i].set == qrs) {
this.settings.chatConfig.setList.splice(i, 1);
}
}
}