Enable editor for png
parent
f8e4231cae
commit
4b4084a57d
|
@ -610,7 +610,7 @@ export default class Viewer extends Mixins(GlobalMixin) {
|
|||
}
|
||||
|
||||
get canEdit() {
|
||||
return this.currentPhoto?.mimetype === "image/jpeg";
|
||||
return ["image/jpeg", "image/png"].includes(this.currentPhoto?.mimetype);
|
||||
}
|
||||
|
||||
private openEditor() {
|
||||
|
|
Loading…
Reference in New Issue