Skip to content

Resolve: settings-teams route being inserted multiple times.

Summary

Occasionally, and I still have yet to figure out how to reproduce it manually, the settings.children array already contains a route for settings-teams. This means that when we push the route, we get a 'Duplicate named routes definition' warning. This commit checks if the route name already exists, and if it does, we don't push it again.

Merge Request Checklist

  • changelog.md has been updated if required
  • New/updated Premium features are separated correctly in the premium folder
  • The latest Chrome and Firefox have been used to test any new frontend features
  • Documentation has been updated
  • Quality Standards are met
  • Performance: tables are still fast with 100k+ rows, 100+ field tables
  • The redoc API pages have been updated for any REST API changes
  • Our custom API docs are updated for changes to endpoints accessed via api tokens
  • The UI/UX has been updated following UI Style Guide

Closes #1391

Merge request reports