FIX: uses same style for mobile PMs than desktop

This commit is contained in:
jjaffeux 2020-05-13 11:01:36 +02:00
parent 8b7f89823d
commit 3df853f5fb
1 changed files with 1 additions and 1 deletions

View File

@ -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