You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: suppress ghost disk events (NaN / NaN undefined) in notifications (#256)
This prevents invalid “Found a new drive” notifications caused by
leftover loop devices or zero-size/invalid disks.
Changes:
Added _isValidDiskEvent helper in CoreService.vue to validate incoming
local-storage:disk:added events.
Skip events with:
size missing, "NaN", or 0.
/dev/loop* devices that have no mount point.
Invalid events are cleaned from the user DB via
this.$api.users.delLetter(eventJson.uuid) so they don’t persist across
reloads.
Why:
Several users reported seeing random “Found a new drive NaN / NaN
undefined” popups in the UI. These come from orphaned loop devices or
misdetected volumes. This patch hides those junk events while preserving
normal drive management (real disks and mounted loops still work as
expected).
Impact:
End users no longer see phantom drive popups.
No backend or DB schema changes.
Does not unmount, delete, or modify real drives — only filters junk
notifications.
0 commit comments