diff --git a/js/src/components/PictureUpload.vue b/js/src/components/PictureUpload.vue index 34a46ac3d..0b6c9eee9 100644 --- a/js/src/components/PictureUpload.vue +++ b/js/src/components/PictureUpload.vue @@ -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 {