Skip to content

Commit 4186a8f

Browse files
[DSC-2445] fix OR operation check
1 parent 05cc75f commit 4186a8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export class AppComponent implements OnInit, AfterViewInit {
179179
}
180180

181181
private shouldSkipLoadingStatus(currentUrl: string, nextUrl: string): boolean {
182-
return (currentUrl.startsWith('/entities' || getEditItemPageRoute()) && !(this.isAdministrativeEditItemPageRoute(nextUrl, currentUrl)))
182+
return ((currentUrl.startsWith('/entities') || currentUrl.startsWith(getEditItemPageRoute())) && !(this.isAdministrativeEditItemPageRoute(nextUrl, currentUrl)))
183183
|| currentUrl.startsWith(getWorkspaceItemModuleRoute()) || currentUrl.startsWith(getWorkflowItemModuleRoute());
184184
}
185185

0 commit comments

Comments
 (0)