Edit events fixes and update cache

This commit is contained in:
Chocobozzz
2019-09-09 11:21:42 +02:00
parent 91d1b9b81f
commit 82df0526ec
11 changed files with 202 additions and 136 deletions

View File

@@ -41,8 +41,12 @@ export default class PictureUpload extends Vue {
imageSrc: string | null = null;
mounted() {
this.updatePreview(this.pictureFile);
}
@Watch('pictureFile')
onPictureFileChanged (val: File) {
onPictureFileChanged(val: File) {
this.updatePreview(val);
}