PictureUpload fix

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-05-25 18:37:31 +02:00
parent fa6df2ccd0
commit fb94c64c63
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ export default class PictureUpload extends Vue {
console.error(e);
}
}
return this.defaultImage ? this.defaultImage.url : null;
return this.defaultImage?.url;
}
onFileChanged(file: File | null): void {