mirror of https://github.com/goharbor/harbor.git
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:
parent
51f102251f
commit
d58d9e6424
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in New Issue