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 e6332a9 commit ad505cf
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 ad505cf

Please sign in to comment.