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

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;
}