summaryrefslogtreecommitdiff
path: root/frontend/src/components
diff options
context:
space:
mode:
authorMarco Rodolfi <marco.rodolfi@tuta.io>2023-06-22 10:45:17 +0200
committerGitHub <noreply@github.com>2023-06-22 10:45:17 +0200
commitcb65fb4b110b5ca2ce5f7597b93832622552997b (patch)
tree65e431bfbbc275ba06ff12c38858ec11435c68d1 /frontend/src/components
parentb82c9cf6e666ceaea5685203d22e64a3f2d86835 (diff)
downloaddecky-loader-cb65fb4b110b5ca2ce5f7597b93832622552997b.tar.gz
decky-loader-cb65fb4b110b5ca2ce5f7597b93832622552997b.zip
Fix: wrong condition on show select folder
Diffstat (limited to 'frontend/src/components')
-rw-r--r--frontend/src/components/modals/filepicker/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/modals/filepicker/index.tsx b/frontend/src/components/modals/filepicker/index.tsx
index 7aada5a5..de5af2db 100644
--- a/frontend/src/components/modals/filepicker/index.tsx
+++ b/frontend/src/components/modals/filepicker/index.tsx
@@ -327,7 +327,7 @@ const FilePicker: FunctionComponent<FilePickerProps> = ({
</Focusable>
</DialogControlsSection>
</DialogBody>
- {!loading && !error && !includeFiles && (
+ {!loading && error === FileErrorTypes.None && !includeFiles && (
<DialogFooter>
<DialogButton
className="Primary"