Small bug with topic status icons at "extra-info"

(Alexander) #1


First of all, thank you for an excellent platform!

Found, that if topic has closed and archived, then lock icon not shown in extra info at the top.
May be render “lock” icon need to wrap: result.push(renderIcon('lock', 'locked_and_archived')) in file /app/assets/javascripts/discourse/widgets/topic-status.js.es6

And also renderIconIf must contain canAct argument, and set it only for pinned/unpined icon, not to all.

And also there are no click method for pin/unpin icon.

P.S. Sory for my English, please.