@bobfrankston/mailx 1.0.204 → 1.0.205

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.
@@ -1 +1 @@
1
- {"height":1344,"width":2151,"x":206,"y":12}
1
+ {"height":1344,"width":2151,"x":476,"y":58}
@@ -290,10 +290,11 @@ export async function showMessage(accountId, uid, folderId, specialUse, isRetry
290
290
  else {
291
291
  bodyEl.innerHTML = `<div class="mv-empty">No content</div>`;
292
292
  }
293
- // Attachments
293
+ // Attachments — always clear first to avoid stale chips from previous message
294
+ attEl.innerHTML = "";
295
+ attEl.hidden = true;
294
296
  if (msg.attachments?.length) {
295
297
  attEl.hidden = false;
296
- attEl.innerHTML = "";
297
298
  for (let i = 0; i < msg.attachments.length; i++) {
298
299
  const att = msg.attachments[i];
299
300
  const chip = document.createElement("a");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx",
3
- "version": "1.0.204",
3
+ "version": "1.0.205",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -24,7 +24,7 @@
24
24
  "@bobfrankston/iflow-node": "^0.1.2",
25
25
  "@bobfrankston/miscinfo": "^1.0.8",
26
26
  "@bobfrankston/oauthsupport": "^1.0.22",
27
- "@bobfrankston/msger": "^0.1.265",
27
+ "@bobfrankston/msger": "^0.1.266",
28
28
  "@capacitor/android": "^8.3.0",
29
29
  "@capacitor/cli": "^8.3.0",
30
30
  "@capacitor/core": "^8.3.0",