UX: always display assign button in dropdown on mobile
This commit is contained in:
parent
cddc0a2eb5
commit
705b30c093
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue