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

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

diff --git a/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.js b/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.js
index e00c947..a2de76d 100644
--- a/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.js
+++ b/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.js
@@ -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;
       }

GitHub sha: 30631a96

This commit appears in #9840 which was merged by jjaffeux.