Hiding topic title in header

Hi, I have been using the fix in the following thread: Is it possible to disable topic title in header?

<script type="text/discourse-plugin" version="0.8.13">
api.modifyClass('component:discourse-topic', {
    showTopicInHeader() {
        return false;
    }
})

But as of the new Discourse update v2.3.0.beta9 +469 it does not seem to hide the topic title anymore.

Any help is appreciated, thanks!

Hi @Gershon

Try this, it should work with latest discourse:

<script type="text/discourse-plugin" version="0.8.13">
    api.modifyClass('component:discourse-topic', {
        shouldShowTopicInHeader() {
            return false;
        }
    })
</script>
5 Likes

Thank you Osama! That fixed it.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.