Skip to content

Commit

Permalink
fix: The file list should be showed when files are loading
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Aug 24, 2023
1 parent 8dc9e0c commit c490330
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions l10n/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ msgstr ""
msgid "Copy"
msgstr ""

#: lib/components/FilePicker/FilePicker.vue:241
#: lib/components/FilePicker/FilePicker.vue:242
msgid "Could not create the new folder"
msgstr ""

#: lib/components/FilePicker/FilePicker.vue:151
#: lib/components/FilePicker/FilePicker.vue:152
#: lib/components/FilePicker/FilePickerNavigation.vue:65
msgid "Favorites"
msgstr ""
Expand All @@ -43,11 +43,11 @@ msgstr ""
msgid "File name cannot be empty."
msgstr ""

#: lib/components/FilePicker/FilePicker.vue:227
#: lib/components/FilePicker/FilePicker.vue:228
msgid "Files and folders you mark as favorite will show up here."
msgstr ""

#: lib/components/FilePicker/FilePicker.vue:225
#: lib/components/FilePicker/FilePicker.vue:226
msgid "Files and folders you recently modified will show up here."
msgstr ""

Expand All @@ -63,7 +63,7 @@ msgstr ""
msgid "Name"
msgstr ""

#: lib/components/FilePicker/FilePicker.vue:151
#: lib/components/FilePicker/FilePicker.vue:152
#: lib/components/FilePicker/FilePickerNavigation.vue:61
msgid "Recent"
msgstr ""
Expand Down Expand Up @@ -94,6 +94,6 @@ msgstr ""
msgid "Unset"
msgstr ""

#: lib/components/FilePicker/FilePicker.vue:223
#: lib/components/FilePicker/FilePicker.vue:224
msgid "Upload some content or sync with your devices!"
msgstr ""
3 changes: 2 additions & 1 deletion lib/components/FilePicker/FilePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
</div>

<!-- File list -->
<FileList v-if="filteredFiles.length > 0"
<!-- If loading or files found show file list, otherwise show empty content-->
<FileList v-if="isLoading || filteredFiles.length > 0"
:allow-pick-directory="allowPickDirectory"
:files="filteredFiles"
:multiselect="multiselect"
Expand Down

0 comments on commit c490330

Please sign in to comment.