Commit 779ba119 authored by jfriedli's avatar jfriedli

Merge branch '26-show-error-why-file-could-no-be-cleaned' into 'develop'

Resolve "Show Error why File could no be cleaned?"

Closes #26

See merge request !126
parents 9df1b1e1 3ef1b992
Pipeline #31417 canceled with stages
in 1 minute and 17 seconds
module.exports = {
presets: [
'@quasar/babel-preset-app'
]
'@quasar/babel-preset-app',
],
plugins: ['@babel/plugin-proposal-optional-chaining']
}
......@@ -182,7 +182,7 @@ export default {
cleanedFiles: {
type: Object,
default: function () {
return {}
return null
}
}
},
......@@ -198,7 +198,7 @@ export default {
mounted () {
if (!this.cleanedFiles) {
this.$router.push('/')
} else if (this.cleanedFiles.successful.length > 1) {
} else if (this.cleanedFiles?.successful?.length > 1) {
this.triggerBulkDownload()
}
},
......@@ -233,12 +233,12 @@ export default {
},
triggerBulkDownload () {
// needs at least 3 files to be downloadable as zip
if (this.cleanedFiles.successful.length > 3) {
if (this.cleanedFiles?.successful?.length > 3) {
this.bulkZipLink = ''
const body = {
download_list: []
}
for (let ctr = 0; ctr < this.cleanedFiles.successful.length; ctr++) {
for (let ctr = 0; ctr < this.cleanedFiles?.successful?.length; ctr++) {
const data = this.cleanedFiles.successful[ctr].response.data
body.download_list.push({
file_name: data.output_filename,
......@@ -285,6 +285,8 @@ export default {
min-height 10rem
max-height 10rem
box-shadow none
border-bottom-right-radius 0px
border-bottom-left-radius 0px
.q-card__actions
padding unset
.q-card__actions .q-btn--rectangle
......
src/statics/app-logo-128x128.png

7.62 KB | W: | H:

src/statics/app-logo-128x128.png

7.6 KB | W: | H:

src/statics/app-logo-128x128.png
src/statics/app-logo-128x128.png
src/statics/app-logo-128x128.png
src/statics/app-logo-128x128.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/favicon-16x16.png

555 Bytes | W: | H:

src/statics/icons/favicon-16x16.png

534 Bytes | W: | H:

src/statics/icons/favicon-16x16.png
src/statics/icons/favicon-16x16.png
src/statics/icons/favicon-16x16.png
src/statics/icons/favicon-16x16.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/favicon-32x32.png

1.15 KB | W: | H:

src/statics/icons/favicon-32x32.png

1.13 KB | W: | H:

src/statics/icons/favicon-32x32.png
src/statics/icons/favicon-32x32.png
src/statics/icons/favicon-32x32.png
src/statics/icons/favicon-32x32.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/favicon-96x96.png

5.06 KB | W: | H:

src/statics/icons/favicon-96x96.png

5.04 KB | W: | H:

src/statics/icons/favicon-96x96.png
src/statics/icons/favicon-96x96.png
src/statics/icons/favicon-96x96.png
src/statics/icons/favicon-96x96.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/favicon.ico

35.2 KB | W: | H:

src/statics/icons/favicon.ico

35.2 KB | W: | H:

src/statics/icons/favicon.ico
src/statics/icons/favicon.ico
src/statics/icons/favicon.ico
src/statics/icons/favicon.ico
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/icon-128x128.png

7.62 KB | W: | H:

src/statics/icons/icon-128x128.png

7.6 KB | W: | H:

src/statics/icons/icon-128x128.png
src/statics/icons/icon-128x128.png
src/statics/icons/icon-128x128.png
src/statics/icons/icon-128x128.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/icon-192x192.png

13.7 KB | W: | H:

src/statics/icons/icon-192x192.png

13.7 KB | W: | H:

src/statics/icons/icon-192x192.png
src/statics/icons/icon-192x192.png
src/statics/icons/icon-192x192.png
src/statics/icons/icon-192x192.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/icon-256x256.png

21.2 KB | W: | H:

src/statics/icons/icon-256x256.png

21.1 KB | W: | H:

src/statics/icons/icon-256x256.png
src/statics/icons/icon-256x256.png
src/statics/icons/icon-256x256.png
src/statics/icons/icon-256x256.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/icon-384x384.png

40.2 KB | W: | H:

src/statics/icons/icon-384x384.png

40.1 KB | W: | H:

src/statics/icons/icon-384x384.png
src/statics/icons/icon-384x384.png
src/statics/icons/icon-384x384.png
src/statics/icons/icon-384x384.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/icon-512x512.png

62.9 KB | W: | H:

src/statics/icons/icon-512x512.png

62.8 KB | W: | H:

src/statics/icons/icon-512x512.png
src/statics/icons/icon-512x512.png
src/statics/icons/icon-512x512.png
src/statics/icons/icon-512x512.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/ms-icon-144x144.png

8.98 KB | W: | H:

src/statics/icons/ms-icon-144x144.png

8.95 KB | W: | H:

src/statics/icons/ms-icon-144x144.png
src/statics/icons/ms-icon-144x144.png
src/statics/icons/ms-icon-144x144.png
src/statics/icons/ms-icon-144x144.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -312,6 +312,14 @@
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-optional-catch-binding" "^7.2.0"
"@babel/plugin-proposal-optional-chaining@^7.7.4":
version "7.7.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.7.4.tgz#3f04c2de1a942cbd3008324df8144b9cbc0ca0ba"
integrity sha512-JmgaS+ygAWDR/STPe3/7y0lNlHgS+19qZ9aC06nYLwQ/XB7c0q5Xs+ksFU3EDnp9EiEsO0dnRAOKeyLHTZuW3A==
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-optional-chaining" "^7.7.4"
"@babel/plugin-proposal-throw-expressions@^7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-throw-expressions/-/plugin-proposal-throw-expressions-7.2.0.tgz#2d9e452d370f139000e51db65d0a85dc60c64739"
......@@ -399,6 +407,13 @@
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-optional-chaining@^7.7.4":
version "7.7.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.7.4.tgz#c91fdde6de85d2eb8906daea7b21944c3610c901"
integrity sha512-2MqYD5WjZSbJdUagnJvIdSfkb/ucOC9/1fRJxm7GAxY6YQLWlUvkfxoNbUPcPLHJyetKUDQ4+yyuUyAoc0HriA==
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-throw-expressions@^7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-throw-expressions/-/plugin-syntax-throw-expressions-7.2.0.tgz#79001ee2afe1b174b1733cdc2fc69c9a46a0f1f8"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment