# Topic-timeline api.decorateWidget call has stopped working

**URL:** <https://meta.discourse.org/t/topic-timeline-api-decoratewidget-call-has-stopped-working/261573>\
**Category:** Development\
**Created:** [April 13, 2023, 11:30am UTC](https://meta.discourse.org/t/topic-timeline-api-decoratewidget-call-has-stopped-working/261573 "2023-04-13T11:30:45Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [May 2, 2023, 8:56am UTC](https://meta.discourse.org/t/topic-timeline-api-decoratewidget-call-has-stopped-working/261573/6 "2023-05-02T08:56:41Z")

</div>

Looks like that outlet is only rendered when the ‘timeline controls’ are visible

> <https://github.com/discourse/discourse/blob/a1b35601fcd209d83471e269e23b7c4f9a42465a/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs#L37-L42>

Perhaps we should introduce another outlet before that `{{#if`. What do you think @isaac @featheredtoast

---

_[View the full topic](https://meta.discourse.org/t/topic-timeline-api-decoratewidget-call-has-stopped-working/261573)._
