diff --git a/client/src/javascript/components/general/form-elements/FilesystemBrowserTextbox.tsx b/client/src/javascript/components/general/form-elements/FilesystemBrowserTextbox.tsx index 9136b05f..39a576e8 100644 --- a/client/src/javascript/components/general/form-elements/FilesystemBrowserTextbox.tsx +++ b/client/src/javascript/components/general/form-elements/FilesystemBrowserTextbox.tsx @@ -35,9 +35,9 @@ const FilesystemBrowserTextbox = forwardRef { const [destination, setDestination] = useState( - suggested ?? - SettingStore.floodSettings.torrentDestinations?.[''] ?? - SettingStore.clientSettings?.directoryDefault ?? + suggested || + SettingStore.floodSettings.torrentDestinations?.[''] || + SettingStore.clientSettings?.directoryDefault || '', ); const [isDirectoryListOpen, setIsDirectoryListOpen] = useState(false);