Skip to content

Commit

Permalink
fix(manager): connect delete event
Browse files Browse the repository at this point in the history
  • Loading branch information
ElonH committed Jun 3, 2020
1 parent 704ab96 commit 0cc5d72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/pages/manager/manager.component.ts
Expand Up @@ -84,7 +84,7 @@ import { TaskService } from './tasks/tasks.service';
Clipboard
</nb-card-header>
<nb-card-body>
<app-manager-clipboard (onDeleteConfirm)="del()"> </app-manager-clipboard>
<app-manager-clipboard (deleteConfirm)="del()"> </app-manager-clipboard>
</nb-card-body>
</nb-card>
</ng-template>
Expand Down Expand Up @@ -277,6 +277,7 @@ export class ManagerComponent implements OnInit {

del() {
this.pasteTrigger.next(['del']);
console.log('delete');
}
private tasksDeploy() {
this.taskService.detail$.getOutput().subscribe(x => {
Expand Down

0 comments on commit 0cc5d72

Please sign in to comment.