summaryrefslogtreecommitdiff
path: root/frontend/src/components/modals
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/modals')
-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"