filters affect striping, not the sort order
This commit is contained in:
parent
de2986a7c1
commit
68165e8fa2
|
@ -156,8 +156,7 @@ function filterOnChange({target: el, forceRefilter}) {
|
||||||
unhide: buildFilter(false),
|
unhide: buildFilter(false),
|
||||||
});
|
});
|
||||||
if (installed) {
|
if (installed) {
|
||||||
reapplyFilter().then(() =>
|
reapplyFilter().then(sorter.updateStripes);
|
||||||
sorter.update());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -544,8 +544,7 @@ function handleUpdate(style, {reason, method, codeIsUpdated} = {}) {
|
||||||
if ((reason === 'update' || reason === 'install') && entry.matches('.updatable')) {
|
if ((reason === 'update' || reason === 'install') && entry.matches('.updatable')) {
|
||||||
handleUpdateInstalled(entry, reason);
|
handleUpdateInstalled(entry, reason);
|
||||||
}
|
}
|
||||||
filterAndAppend({entry}).then(() =>
|
filterAndAppend({entry}).then(sorter.updateStripes);
|
||||||
sorter.update());
|
|
||||||
if (!entry.matches('.hidden') && reason !== 'import') {
|
if (!entry.matches('.hidden') && reason !== 'import') {
|
||||||
animateElement(entry);
|
animateElement(entry);
|
||||||
requestAnimationFrame(() => scrollElementIntoView(entry));
|
requestAnimationFrame(() => scrollElementIntoView(entry));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* global installed updateStripes */
|
/* global installed */
|
||||||
/* global messageBox */
|
/* global messageBox */
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
|
@ -178,8 +178,7 @@ function reportUpdateState({updated, style, error, STATES}) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filtersSelector.hide && isCheckAll) {
|
if (filtersSelector.hide && isCheckAll) {
|
||||||
filterAndAppend({entry}).then(() =>
|
filterAndAppend({entry}).then(sorter.updateStripes);
|
||||||
sorter.update());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user