Fixed Bug 61060 - Accounts: Error in console Uncaught TypeError: "newData" is read-only when deselecting account
This commit is contained in:
parent
604bc27e88
commit
22eacf4fb8
@ -49,7 +49,8 @@ class SelectionStore {
|
||||
if (!exists) return;
|
||||
|
||||
const newData = [...this.selection];
|
||||
newData = this.selection.splice(index, 1);
|
||||
|
||||
newData.splice(index, 1);
|
||||
|
||||
this.setSelection(newData);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user