PictureUpload fix
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
fa6df2ccd0
commit
fb94c64c63
|
@ -152,7 +152,7 @@ export default class PictureUpload extends Vue {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return this.defaultImage ? this.defaultImage.url : null;
|
return this.defaultImage?.url;
|
||||||
}
|
}
|
||||||
|
|
||||||
onFileChanged(file: File | null): void {
|
onFileChanged(file: File | null): void {
|
||||||
|
|
Loading…
Reference in a new issue