mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 08:35:48 +08:00
DEV: Plugin outlet in topic-status component (#13763)
This commit is contained in:
parent
422fa1b1d8
commit
9b15affaae
app/assets/javascripts/discourse/app
@ -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…
x
Reference in New Issue
Block a user