Skip to content

Commit 81885c4

Browse files
committed
reset fields after submission
1 parent d3cac04 commit 81885c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plugins/drivelistmanager.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,10 @@ export function DriveListManagerComponent({ model }: IProps) {
224224
await addPublicDrive(publicDrive);
225225
} else {
226226
await addExternalDrive(publicDrive, driveRegion);
227-
setDriveRegion('');
228227
}
228+
setPublicDrive('');
229229
setDriveRegion('');
230+
setIsPublic(false);
230231
await model.refresh();
231232
}
232233
};

0 commit comments

Comments
 (0)