@bobfrankston/rmfmail 1.1.181 → 1.1.182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/app.bundle.js +46 -1
- package/client/app.bundle.js.map +2 -2
- package/client/app.js +13 -0
- package/client/app.js.map +1 -1
- package/client/app.ts +14 -0
- package/client/components/message-list.js +56 -1
- package/client/components/message-list.js.map +1 -1
- package/client/components/message-list.ts +52 -1
- package/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-45356 → node_modules.npmglobalize-stash-38588}/.package-lock.json +0 -0
package/client/app.js
CHANGED
|
@@ -4728,6 +4728,19 @@ if (optPriorityOnly) {
|
|
|
4728
4728
|
localStorage.setItem("mailx-priority-only", String(optPriorityOnly.checked));
|
|
4729
4729
|
});
|
|
4730
4730
|
}
|
|
4731
|
+
// "Show all messages" escape from a list that's empty only because a
|
|
4732
|
+
// flagged-only / priority-only filter is hiding every row. The message-list
|
|
4733
|
+
// renders an overlay with this button when a filter hides everything; here
|
|
4734
|
+
// we honor it by clearing BOTH filters (whichever was on) and reloading.
|
|
4735
|
+
document.addEventListener("mailx-clear-list-filters", () => {
|
|
4736
|
+
applyFlaggedFilter(false);
|
|
4737
|
+
if (optPriorityOnly?.checked) {
|
|
4738
|
+
optPriorityOnly.checked = false;
|
|
4739
|
+
document.getElementById("ml-body")?.classList.remove("priority-only");
|
|
4740
|
+
localStorage.setItem("mailx-priority-only", "false");
|
|
4741
|
+
}
|
|
4742
|
+
reloadCurrentFolder();
|
|
4743
|
+
});
|
|
4731
4744
|
// Folder counts toggle
|
|
4732
4745
|
optFolderCounts?.addEventListener("change", () => {
|
|
4733
4746
|
const tree = document.getElementById("folder-tree");
|