mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-10 11:29:07 +00:00
Dont check length of image if image does not exist
This commit is contained in:
@@ -21,7 +21,7 @@ export default {
|
||||
}
|
||||
},
|
||||
beforeMount() {
|
||||
if (this.image.length > 0) {
|
||||
if (this.image && this.image.length > 0) {
|
||||
this.imageFile = this.image
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user