Skip to content
Snippets Groups Projects

Fix: Only add room import button once

Merged Felix Blanke requested to merge felix_bonn/akplanning:fix/add-room-import-only-once into main

The action to import rooms from CSV is added at render time. Currently, this is done even when such an action is already contained. This leads to the bug that after a reload of the status page, the action is listed twice in the context menu (and so on).

This PR adds a check s.t. the action is only added if no action is contained that link to the same URL.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading