FIX: uses same style for mobile PMs than desktop
This commit is contained in:
parent
8b7f89823d
commit
3df853f5fb
|
|
@ -38,7 +38,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) {
|
if (this.site.mobileView && !this.get("topic.isPrivateMessage")) {
|
||||||
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