From 0bd96450b837a651cce4ccb80a89fb5a2cb38a3c Mon Sep 17 00:00:00 2001 From: dweinholz Date: Thu, 10 Oct 2024 09:05:21 +0200 Subject: [PATCH] fix(Project):return 404 when os details requests for openstack projects (#6242) --- .../project-os-details/project-os-details.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/projectmanagement/project-os-details/project-os-details.component.ts b/src/app/projectmanagement/project-os-details/project-os-details.component.ts index 8d1199148d..4d47104194 100644 --- a/src/app/projectmanagement/project-os-details/project-os-details.component.ts +++ b/src/app/projectmanagement/project-os-details/project-os-details.component.ts @@ -37,7 +37,7 @@ export class ProjectOsDetailsComponent implements OnInit, OnChanges { } getProjectDetails(): void { - if (!this.project.project_application_perun_id) { + if (!this.project.project_application_perun_id || this.project.project_application_openstack_project) { return } this.groupService.getProjectOSDetails(this.project.project_application_perun_id).subscribe((res: any): void => {