diff --git a/src/portal/lib/src/tag/tag.component.html b/src/portal/lib/src/tag/tag.component.html index 7a1f0e597..00521cca6 100644 --- a/src/portal/lib/src/tag/tag.component.html +++ b/src/portal/lib/src/tag/tag.component.html @@ -40,7 +40,7 @@
- + diff --git a/src/portal/lib/src/tag/tag.component.ts b/src/portal/lib/src/tag/tag.component.ts index c2c53cea4..3b4073799 100644 --- a/src/portal/lib/src/tag/tag.component.ts +++ b/src/portal/lib/src/tag/tag.component.ts @@ -56,7 +56,6 @@ import {CopyInputComponent} from "../push-image/copy-input.component"; import {LabelService} from "../service/label.service"; import {operateChanges, OperateInfo, OperationState} from "../operation/operate"; import {OperationService} from "../operation/operation.service"; -import {SystemInfo} from "../service/index"; export interface LabelState { iconsShow: boolean; @@ -125,7 +124,6 @@ export class TagComponent implements OnInit, AfterViewInit { project_id: 0, }; filterOneLabel: Label = this.initFilter; - systemInfo: SystemInfo; @ViewChild('confirmationDialog') @@ -215,12 +213,6 @@ export class TagComponent implements OnInit, AfterViewInit { return len > 210 ? 210 : len; } - get isClairDBFullyReady(): boolean { - return this.systemInfo && - this.systemInfo.clair_vulnerability_status && - this.systemInfo.clair_vulnerability_status.overall_last_update > 0; - } - doSearchTagNames(tagName: string) { this.lastFilteredTagName = tagName; this.currentPage = 1;