Skip to content

Commit

Permalink
webui: tests: debug 'detect disks' button staying forever disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
KKoukiou committed Jul 11, 2023
1 parent 8f04ff0 commit 139e2f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/webui/src/components/storage/InstallationDestination.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ const LocalStandardDisks = ({ deviceData, diskSelection, dispatch, idPrefix, set
}, [selectedDisksCnt, setIsFormValid]);

const loading = !deviceData || diskSelection.usableDisks.some(disk => !deviceData[disk]);
console.debug("Loading:", loading, JSON.stringify(deviceData), JSON.stringify(diskSelection.usableDisks));
console.debug("isRescanningDisks", isRescanningDisks);

const localDisksInfo = (
<Popover
Expand Down

0 comments on commit 139e2f8

Please sign in to comment.