forked from mirrors/homebox
feat: add tsv support for import files (#160)
* feat: add tsv support for import files * add note in docs
This commit is contained in:
parent
f149c3e4ab
commit
f42a917390
7 changed files with 116 additions and 13 deletions
|
@ -100,7 +100,7 @@
|
|||
|
||||
<form @submit.prevent="submitCsvFile">
|
||||
<div class="flex flex-col gap-2 py-6">
|
||||
<input ref="importRef" type="file" class="hidden" accept=".csv" @change="setFile" />
|
||||
<input ref="importRef" type="file" class="hidden" accept=".csv,.tsv" @change="setFile" />
|
||||
|
||||
<BaseButton type="button" @click="uploadCsv">
|
||||
<Icon class="h-5 w-5 mr-2" name="mdi-upload" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue