Skip to content

Commit

Permalink
fix(ui): manage route /project/list (#7265)
Browse files Browse the repository at this point in the history
Signed-off-by: Yvonnick Esnault <[email protected]>
  • Loading branch information
yesnault authored Jan 6, 2025
1 parent 56655f0 commit c3913d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/src/app/event-v2.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ export class EventV2Service {
}

let projectKey = urlSplitted[1].split('?')[0];
// avoid list from route /project/list/all
if (projectKey === "list") {
break;
}

this._featureService.isEnabled(FeatureNames.AllAsCode, { project_key: projectKey }).subscribe(f => {
if (f.enabled) {
Expand Down

0 comments on commit c3913d7

Please sign in to comment.