SetUpComponent not being called for topic list tags plugin outlet

Thanks for your reply. I see there is another plugin outlet “topic-list-after-title”.
I added the raw.hbs file in the “topic-list-after-title” folder. I added some test text in the raw.hbs file, and I was able to view the same in the discourse site.

But as mentioned here , if we add corresponding js.es6 file and

export default {
  setupComponent(args, component) {
    component.set('today', new Date());
  }
}

the setUpComponent will be called before rending the hbs connector file.

But in my case, I am able to view the text, but the above function is not called.

raw.hbs file location : my-plugin/javascripts/discourse/templates/connectors/topic-list-after-title/test-topic-list-after-title.raw.hbs

js.es6 file location : my-plugin/javascripts/discourse/connectors/topic-list-after-title/test-topic-list-after-title.js.es6

2 Likes