File

repository/software/list/columns/versions.cell-renderer.component.ts

Metadata

Index

Properties
Methods

Constructor

constructor(context: CellRendererContext, repositoryService: RepositoryService)
Parameters :
Name Type Optional
context CellRendererContext No
repositoryService RepositoryService No

Methods

getBaseVersionsCount$
getBaseVersionsCount$(software: IManagedObject)
Decorators :
@memoize(undefined)
Parameters :
Name Type Optional
software IManagedObject No
Returns : Observable<number | string>

Properties

Public context
Type : CellRendererContext
isLegacy
Default value : this.repositoryService.isLegacyEntry.bind(this.repositoryService)
software
<span class="label label-warning flex-item-right-sm" *ngIf="isLegacy(software)">
  <span translate> Legacy </span>
</span>
<span *ngIf="!isLegacy(software)">
  <span *ngIf="(getBaseVersionsCount$(software) | async) === null">
    <span class="badge badge-info flex-item-right-sm">
      <i class="icon-spin" c8yIcon="circle-o-notch"></i>
    </span>
  </span>
  <span *ngIf="(getBaseVersionsCount$(software) | async) !== null">
    <span class="badge badge-info flex-item-right-sm">
      {{ getBaseVersionsCount$(software) | async }}
    </span>
  </span>
</span>

results matching ""

    No results matching ""