Adhere to dashboard card plattform/user selections for newly implemented cards #351
Labels
bug
Something isn't working
good first issue
Good for newcomers
hackathon
Will be solved during the next neuland.app Hackathon
Describe the bug
Dashboard entrys that are newly added to the code are displayed to all users even if
PLATFORM_X
is not set to the current plattform.To Reproduce
localStorage.personalizedDashboardHidden
removing theroomplan
entryYou are now at the state of an existing app user just after the
roomplan
dashboard entry was implemented. Reloading the page theroomplan
entry will appear, even though it is only labeled asPLATFORM_DESKTOP
and notPLATFORM_MOBILE
Expected behavior
The
roomplan
should not appear, as it is a desktop only card. When a new dashboard entry is implemented it should only appear on corresponding plattforms.Screenshots
Additional context
neuland.app/rogue-thi-app/lib/hooks/dashboard.js
Lines 71 to 75 in df2131b
The text was updated successfully, but these errors were encountered: