mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 00:05:00 +08:00
UX: do not display pinned option description on mobile (#8846)
This commit is contained in:
parent
87e92da085
commit
14126e9a38
|
@ -27,14 +27,18 @@ export default DropdownSelectBoxComponent.extend({
|
||||||
{
|
{
|
||||||
id: "pinned",
|
id: "pinned",
|
||||||
name: I18n.t(`topic_statuses.pinned${globally}.title`),
|
name: I18n.t(`topic_statuses.pinned${globally}.title`),
|
||||||
description: I18n.t(`topic_statuses.pinned${globally}.help`),
|
description: this.site.mobileView
|
||||||
|
? null
|
||||||
|
: I18n.t(`topic_statuses.pinned${globally}.help`),
|
||||||
icon: "thumbtack"
|
icon: "thumbtack"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "unpinned",
|
id: "unpinned",
|
||||||
name: I18n.t("topic_statuses.unpinned.title"),
|
name: I18n.t("topic_statuses.unpinned.title"),
|
||||||
icon: "thumbtack unpinned",
|
icon: "thumbtack unpinned",
|
||||||
description: I18n.t("topic_statuses.unpinned.help")
|
description: this.site.mobileView
|
||||||
|
? null
|
||||||
|
: I18n.t("topic_statuses.unpinned.help")
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user