Fix icon editing for mod pages

This commit is contained in:
Geometrically 2021-01-03 12:32:52 -07:00
parent 0ec49643ee
commit 0d4432720c
No known key found for this signature in database
GPG Key ID: 90C056FDC8FC9FF0

View File

@ -444,6 +444,7 @@ export default {
showPreviewImage(files) { showPreviewImage(files) {
const reader = new FileReader() const reader = new FileReader()
this.iconChanged = true
this.icon = files[0] this.icon = files[0]
reader.readAsDataURL(this.icon) reader.readAsDataURL(this.icon)