From 64351da46d49faed5cfcab24d66d78b1cde1eaa2 Mon Sep 17 00:00:00 2001 From: Nereus Ng Wei Bin Date: Thu, 14 Mar 2024 16:08:26 +0800 Subject: [PATCH] Implement general phase validation --- src/app/core/services/phase.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/services/phase.service.ts b/src/app/core/services/phase.service.ts index fb9230619..91989ac61 100644 --- a/src/app/core/services/phase.service.ts +++ b/src/app/core/services/phase.service.ts @@ -188,7 +188,7 @@ export class PhaseService { } isPhaseAllowed(phaseName: string) { - return phaseName === '/' + Phase.issuesViewer; + return phaseName in Phase; } isRepoSet(): boolean {