discourse/plugins
Régis Hanol 35656a1d5f
DEV: attempt to fix some system spec flakes (#30182)
Since 3e7f0867ea, I started seeing some specs fail due to the following error

```plain
Error occurred while rendering: top-level application > discourse-root > topic > discourse-topic > topic-navigation > plugin-outlet > plugin-connector > topic-presence-display

/assets/plugins/discourse-presence.js - Uncaught TypeError: Cannot destructure property 'whisperer' of 'this.currentUser' as it is null.
```

For some reasons I can't fanthom, the presence components seem to be rendered even though they're using outlets that are only rendered when a user is signed in... 🤷‍♂️

Lost too much time trying to reproduce so I ended up adding this `if (!this.currentUser) { return; }` condition to both "presence display" component to (hopefully) fix these flakes.
2024-12-09 18:01:22 +01:00
..
automation
chat FIX: chat channel sort order consistency in sidebar (#30180) 2024-12-09 15:36:41 +04:00
checklist
discourse-details
discourse-lazy-videos
discourse-local-dates
discourse-narrative-bot
discourse-presence DEV: attempt to fix some system spec flakes (#30182) 2024-12-09 18:01:22 +01:00
footnote
poll DEV: Update more deprecated Font Awesome icon names (#30163) 2024-12-08 22:14:28 +01:00
spoiler-alert
styleguide