Reset pinned orders
This commit is contained in:
parent
a1d65e2747
commit
29faea6ac9
@ -298,9 +298,10 @@ async function loadStateInner() {
|
||||
let newVersion: string, oldVersion: string;
|
||||
if(state.version !== STATE_VERSION || state.build !== BUILD/* || true */) {
|
||||
// reset filters and dialogs if version is older
|
||||
if(compareVersion(state.version, '0.8.7') === -1 || state.build < 179) {
|
||||
if(/* compareVersion(state.version, '0.8.7') === -1 || state.build < 179 || */state.build < 217) {
|
||||
state.allDialogsLoaded = copy(STATE_INIT.allDialogsLoaded);
|
||||
// state.filters = copy(STATE_INIT.filters);
|
||||
state.pinnedOrders = copy(STATE_INIT.pinnedOrders);
|
||||
state.filtersArr = copy(STATE_INIT.filtersArr);
|
||||
|
||||
resetStorages.add('dialogs');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user