Rebase to master when repo went private
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { Component, Input, OnInit } from '@angular/core';
|
||||
import { ProcessBucketService } from '../process-bucket.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-current-task-item',
|
||||
templateUrl: './current-task-item.component.html',
|
||||
styleUrls: ['./current-task-item.component.css'],
|
||||
})
|
||||
export class CurrentTaskItemComponent implements OnInit {
|
||||
@Input() task;
|
||||
constructor(private processService: ProcessBucketService) {}
|
||||
|
||||
ngOnInit() {}
|
||||
|
||||
deleteItem() {
|
||||
this.processService.tasks = this.processService.tasks.filter(t => t !== this.task);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user