mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: Plugin outlet in topic-status component (#13763)
This commit is contained in:
parent
422fa1b1d8
commit
9b15affaae
2 changed files with 2 additions and 2 deletions
|
@ -11,9 +11,8 @@ export default Component.extend({
|
|||
if (this.canAct && $(e.target).hasClass("d-icon-thumbtack")) {
|
||||
const topic = this.topic;
|
||||
topic.get("pinned") ? topic.clearPin() : topic.rePin();
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
@discourseComputed("disableActions")
|
||||
|
|
|
@ -30,3 +30,4 @@
|
|||
{{~#if topicInvisible~}}
|
||||
<span title={{invisibleTitle}} class="topic-status">{{invisibleIcon}}</span>
|
||||
{{~/if~}}
|
||||
{{plugin-outlet name="after-topic-status" tagName="" args=(hash topic=topic)}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue