From b2b66d645b5119b3a5cdbd1749e15f9dd9c99173 Mon Sep 17 00:00:00 2001 From: Bianca Nenciu Date: Wed, 5 Jun 2019 04:30:06 +0300 Subject: [PATCH] UX: Move archive button in topic controls dropdown (mobile view). (#7681) --- .../discourse/initializers/topic-footer-buttons.js.es6 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/javascripts/discourse/initializers/topic-footer-buttons.js.es6 b/app/assets/javascripts/discourse/initializers/topic-footer-buttons.js.es6 index fce251ff0f1..3cd0827a6f1 100644 --- a/app/assets/javascripts/discourse/initializers/topic-footer-buttons.js.es6 +++ b/app/assets/javascripts/discourse/initializers/topic-footer-buttons.js.es6 @@ -130,6 +130,9 @@ export default { "archiveTitle", "toggleArchiveMessage" ], + dropdown() { + return this.site.mobileView; + }, displayed() { return this.canArchive; }