useSensitiveMedia
composable doesn't update when media changes
#2927
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟧 priority: high
Stalls work on the project or its dependents
🧱 stack: frontend
Related to the Nuxt frontend
Milestone
Description
The media sensitivity and blurring is not updated when the global media item changes.
Reproduction
Note: it works the other way around, too: if you first play a sensitive item, then all audio titles will be blurred in the global audio player, even if the items are not sensitive.
Screenshots
Additional context
To fix this, we should pass the media as a
ref
to theuse-sensitive-media
composable.I set the priority to high because this must be fixed before rolling out the Frontend blurring of sensitive content project.
The text was updated successfully, but these errors were encountered: