Skip to content

Commit

Permalink
Implement general phase validation
Browse files Browse the repository at this point in the history
  • Loading branch information
NereusWB922 committed Mar 14, 2024
1 parent ff59633 commit 64351da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/services/phase.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class PhaseService {
}

isPhaseAllowed(phaseName: string) {
return phaseName === '/' + Phase.issuesViewer;
return phaseName in Phase;
}

isRepoSet(): boolean {
Expand Down

0 comments on commit 64351da

Please sign in to comment.