mirror of
https://github.com/discourse/discourse.git
synced 2025-04-15 02:51:41 +08:00

In this case, there is no 'nearPost' param in the URL. Instead, the server preloads a post-stream with whichever page of posts is requested. We can check for that situation using `postStream.firstPostPresent`. Also updates the widget-header version to fetch a value from the service on initial render, instead of relying on the observer triggering. Followup to bdec564d1417c51ef6958784fdd6375fd05da4fc