neuland-ingolstadt / neuland.app

A free & open source, web-based replacement for the official app of the Technische Hochschule Ingolstadt built with React and Next.js.
https://neuland.app
GNU Affero General Public License v3.0
36 stars 33 forks source link

Adhere to dashboard card plattform/user selections for newly implemented cards #351

Open M4GNV5 opened 11 months ago

M4GNV5 commented 11 months ago

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

You are now at the state of an existing app user just after the roomplan dashboard entry was implemented. Reloading the page the roomplan entry will appear, even though it is only labeled as PLATFORM_DESKTOP and not PLATFORM_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 image

Additional context