clearml-web/src/app/webapp-common/pipelines/pipeline-card/pipeline-card.component.ts
shyallegro 07d90efe15
Release v1.3 (#19)
Co-authored-by: shyallegro <support@allegro.ai>
2022-03-15 15:46:26 +02:00

17 lines
650 B
TypeScript

import {Component, EventEmitter, Input, Output} from '@angular/core';
import {ProjectCardComponent} from '@common/shared/ui-components/panel/project-card/project-card.component';
import {trackById} from '@common/shared/utils/forms-track-by';
@Component({
selector: 'sm-pipeline-card',
templateUrl: './pipeline-card.component.html',
styleUrls: ['./pipeline-card.component.scss']
})
export class PipelineCardComponent extends ProjectCardComponent {
@Input() allTags: string[];
@Output() run = new EventEmitter();
@Output() addTag = new EventEmitter<string>();
@Output() removeTag = new EventEmitter<string>();
trackById = trackById;
}