mirror of
https://github.com/KevinMidboe/leifsopplevelser.git
synced 2025-10-29 09:40:21 +00:00
Forgot to split the filename to name and extension
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user