portal: fix Project type import in vulnerability config\n\nResolve TS2322 by importing the local app Project model instead of the swagger-generated Project type. The ProjectService returns the app model (creation_time: string | Date), which mismatched the swagger model (creation_time: string). This unblocks Angular build for the selective scan scope UI.

Signed-off-by: SoumyaRaikwar <somuraik@gmail.com>
This commit is contained in:
SoumyaRaikwar 2025-09-29 11:50:53 +05:30
parent 51f102251f
commit d58d9e6424
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ import {
VULNERABILITY_SCAN_STATUS,
} from '../../../../shared/units/utils';
import { DatePipe } from '@angular/common';
import { Project } from '../../../../../../ng-swagger-gen/models/project';
import { Project } from '../../../project/project-config/project-policy-config/project';
import { Repository as NewRepository } from '../../../../../../ng-swagger-gen/models/repository';
import { RepositoryService as NewRepositoryService } from '../../../../../../ng-swagger-gen/services/repository.service';
import { ProjectService } from '../../../../shared/services';