UX: always display assign button in dropdown on mobile

This commit is contained in:
jjaffeux 2020-05-20 14:07:37 +02:00
parent cddc0a2eb5
commit 705b30c093
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ function registerTopicFooterButtons(api) {
if (user) { if (user) {
const label = I18n.t("discourse_assign.unassign.title"); const label = I18n.t("discourse_assign.unassign.title");
if (this.site.mobileView && !this.get("topic.isPrivateMessage")) { if (this.site.mobileView) {
return htmlSafe( return htmlSafe(
`<span class="unassign-label"><span class="text">${label}</span><span class="username">${ `<span class="unassign-label"><span class="text">${label}</span><span class="username">${
user.username user.username