Browse Source

feat: add tele for excel import

pull/1931/head
Wing-Kam Wong 3 years ago
parent
commit
c56cc3a9a0
  1. 2
      packages/nc-gui/components/import/excelImport.vue
  2. 2
      packages/nc-gui/components/templates/createProjectFromTemplateBtn.vue

2
packages/nc-gui/components/import/excelImport.vue

@ -66,7 +66,7 @@
dense
:rules="[v => !!v || $t('general.required') ]"
/>
<v-btn class="ml-3" color="primary" @click="loadUrl">
<v-btn v-t="['c:project:create:excel:load-url']" class="ml-3" color="primary" @click="loadUrl">
<!--Load-->
{{ $t('general.load') }}
</v-btn>

2
packages/nc-gui/components/templates/createProjectFromTemplateBtn.vue

@ -124,6 +124,8 @@ export default {
} else {
// Create an empty project
try {
this.$e("a:project:create:excel");
project = await this.$api.project.create({
title: this.templateData.title,
external: false

Loading…
Cancel
Save