Pass property in connector template

How can I use plugin api to pass property into the handlebar template?

I’m Trying to show different text depending on wether current topic is public. I’m using the topic-above-post-stream connector outlet.

I tried to extend the api.modifyClass(“component:topic-category”,{}) and set property in init() method, it shows in the console, but not actually showing in this

1 Like

ah, figured out according to this: Adding a form to a plugin - #3 by Johani

had to use setupComponent()

1 Like