radio4000 / components

web-components to build the r4 interfaces, uses the sdk
https://components.radio4000.com/
1 stars 0 forks source link

Fix route channel #169

Closed oskarrough closed 5 months ago

oskarrough commented 5 months ago

When you're on a channel page and you tap a link to a different channel, the router and URL updates, but the UI does not. E.g. the channel isn't changed.

This PR detects if params.slug changes and makes sure to check if we need to refresh the channel. Hope it doesn't introduce any side-effects, but seems fine.