Browse Source

fix(nc-gui): at most 5 files for csv import only

pull/4135/head
Wing-Kam Wong 2 years ago
parent
commit
7a8a58d020
  1. 2
      packages/nc-gui/components/dlg/QuickImport.vue

2
packages/nc-gui/components/dlg/QuickImport.vue

@ -384,7 +384,7 @@ const beforeUpload = (file: UploadFile) => {
class="nc-input-import !scrollbar-thin-dull"
list-type="picture"
:accept="importMeta.acceptTypes"
:max-count="5"
:max-count="isImportTypeCsv ? 5 : 1"
:multiple="true"
:custom-request="customReqCbk"
:before-upload="beforeUpload"

Loading…
Cancel
Save