Skip to content

Commit

Permalink
fix "Cannot match any routes"
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilWun committed Aug 19, 2024
1 parent a51faf7 commit e53ecbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const extraTabsMatcher: UrlMatcher = (segments: UrlSegment[], group, route): Url
}

// match: ./plugin/:pluginId
if (segments[index]?.path !== "plugins") {
if (segments[index]?.path !== "plugins" && segments[index]?.path !== "plugin") {
return null;
}
consumed.push(segments[index]);
Expand Down

0 comments on commit e53ecbe

Please sign in to comment.