diff --git a/lib/components/FilePicker/FileList.vue b/lib/components/FilePicker/FileList.vue
index fce6c092..c5c8aaa7 100644
--- a/lib/components/FilePicker/FileList.vue
+++ b/lib/components/FilePicker/FileList.vue
@@ -3,11 +3,11 @@
-
+ |
{{ t('Select entry') }}
-
+
|
@@ -49,6 +49,7 @@
f.path !== file.path))
} else {
- emit('update:selectedFiles', [...props.selectedFiles, file])
+ if (props.multiselect) {
+ emit('update:selectedFiles', [...props.selectedFiles, file])
+ } else {
+ // no multi select so only this file is selected
+ emit('update:selectedFiles', [file])
+ }
}
}
diff --git a/lib/components/FilePicker/FileListRow.vue b/lib/components/FilePicker/FileListRow.vue
index f99f912f..9305359a 100644
--- a/lib/components/FilePicker/FileListRow.vue
+++ b/lib/components/FilePicker/FileListRow.vue
@@ -1,8 +1,10 @@
-
+ |
| |