fix(admin-ui): Make registerPageTab work on 'order-list' location (#3173) #3187
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I got into the issue where I wasn't able to add a custom component to location
order-list
with theregisterPageTab
provider. Found out that the culprit is the router configuration in admin-ui for the order part. Under the more complex paths with subroutespathMatch: full
is not used, only on more basic pages like login and dashboard.Issue reference is here: #3173
Breaking changes
If a user has the same order ID like the tab name, that could cause a race condition I assume, but I think this would be unlikely.
Checklist
📌 Always:
👍 Most of the time: