ui: Always recreate the settings object to remove previously defined
This commit is contained in:
parent
8683e78213
commit
2a9d2cacda
@ -27,7 +27,7 @@ function createSettingsStore() {
|
||||
settings.currentTime = settings.recvTime;
|
||||
}
|
||||
|
||||
update((s) => (Object.assign(s, settings)));
|
||||
update((s) => (Object.assign({}, settings)));
|
||||
|
||||
if (cb) {
|
||||
cb(settings);
|
||||
|
Loading…
x
Reference in New Issue
Block a user