-
AndiMajore authoredAndiMajore authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
task-list.component.ts 722 B
import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
import {AnalysisService, algorithmNames} from '../../services/analysis/analysis.service';
import {Theme} from '../../theme';
@Component({
selector: 'app-task-list',
templateUrl: './task-list.component.html',
styleUrls: ['./task-list.component.scss']
})
export class TaskListComponent implements OnInit {
@Input() colorTheme: Theme;
@Input() token: string;
@Output() tokenChange: EventEmitter<string> = new EventEmitter();
public algorithmNames = algorithmNames;
constructor(public analysis: AnalysisService) {
}
ngOnInit(): void {
}
open(token) {
this.token = token;
this.tokenChange.emit(token);
}
}