Skip to content

Commit

Permalink
fix build for linux and remove unimportable type
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <[email protected]>
  • Loading branch information
dartcafe committed Sep 28, 2024
1 parent 21c8d29 commit 35bb6ae
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
"stylelint:fix": "stylelint src --fix",
"version": "node update-app-version.mjs && git add ./appinfo/info.xml",
"build": "vite --mode production build",
"dev": "set NODE_ENV=production && vite --mode development build",
"watch": "set NODE_ENV=production && vite --mode development build --watch"
"dev": "NODE_ENV=development vite --mode development build",
"dev:win": "set NODE_ENV=development && vite --mode development build",
"watch": "NODE_ENV=development vite --mode development build --watch"
},
"browserslist": [
"extends @nextcloud/browserslist-config"
Expand Down Expand Up @@ -52,7 +53,7 @@
"vue": "^3.4.30",
"vue-material-design-icons": "^5.3.0",
"vue-router": "^4.4.0",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
},
"devDependencies": {
"@nextcloud/browserslist-config": "^3.0.1",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Export/ExportPoll.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script setup lang="ts">
import { ref, computed } from 'vue'
import { useRoute } from 'vue-router'
import { utils as xlsxUtils, write as xlsxWrite, WorkBook } from 'xlsx'
import { utils as xlsxUtils, write as xlsxWrite } from 'xlsx'
import { saveAs } from 'file-saver'
import DOMPurify from 'dompurify'
import { t } from '@nextcloud/l10n'
Expand All @@ -32,7 +32,7 @@
const regex = /[:\\/?*[\]]/g
const workBook = ref<WorkBook>(null)
const workBook = ref(null)
const sheetData = ref([])
const emailAddresses = ref([])
const sheetName = computed(() => pollStore.configuration.title.replaceAll(regex, '').slice(0, 31))
Expand Down

0 comments on commit 35bb6ae

Please sign in to comment.