UX: moves editFirstPost in taggable Pms in dropdown on mobile (#9840)

This commit is contained in:
Joffrey JAFFEUX 2020-05-20 14:07:00 +02:00 committed by GitHub
parent 02f44def56
commit 30631a963f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,6 +175,9 @@ export default {
action: "editFirstPost",
classNames: ["edit-message"],
dependentKeys: ["editFirstPost", "showEditOnFooter"],
dropdown() {
return this.site.mobileView && this.get("topic.isPrivateMessage");
},
displayed() {
return this.showEditOnFooter;
}