Skip to content

Commit

Permalink
Merge pull request #4 from DenisaCG/fixDrivesListing
Browse files Browse the repository at this point in the history
Fix for adding drives
  • Loading branch information
HaudinFlorence authored Nov 7, 2023
2 parents fed60e9 + 03c5de0 commit 45dc4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivelistmanager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export function DriveListManagerComponent(props: IProps) {
updatedSelectedDrives = [...props.model.selectedDrives];
let pickedDrive: IDrive;
if (isName) {
pickedDrive = { name: driveName, url: '' };
pickedDrive = { name: item, url: '' };
} else {
if (item !== driveUrl) {
setDriveUrl(item);
Expand Down

0 comments on commit 45dc4af

Please sign in to comment.