Forgot to split the filename to name and extension

This commit is contained in:
2019-03-04 00:26:05 +01:00
parent 8c3e9b9039
commit 355e0a456b

View File

@@ -42,6 +42,7 @@ export default {
imagesByAdventureId(this.adventureId)
.then(images => {
images.forEach(image => {
let [filename, filextension] = image.filename.split('.')
const url = `${'https://leifsopplevelser.no/assets'}/${filename}_thumb.${filextension}`;
this.files.push({