Skip to content

Commit

Permalink
Fix hiding of the USB storage if detached
Browse files Browse the repository at this point in the history
  • Loading branch information
voxelias committed Jan 16, 2024
1 parent d81f8a1 commit 650aa94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/printer/components/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const update = (storages, selectedStorage, onSelect, updateDetails = false) => {
const storage = storages[storageType];
const label = tab.querySelector("p");

isVisible = true;
isVisible = storages[storageType].available;
if (storage.name) {
label.innerText = storage.name;
}
Expand Down

0 comments on commit 650aa94

Please sign in to comment.