|
- import { Component } from '@angular/core';
- import { MatDialogRef } from '@angular/material/dialog';
-
- @Component({
- selector: 'app-confirm-dialog',
- templateUrl: './confirm-dialog.component.html',
- styleUrls: ['./confirm-dialog.component.scss'],
- })
- export class ConfirmDialogComponent {
- constructor(public dialogRef: MatDialogRef<ConfirmDialogComponent>) {}
- data = [
- {
- key: 'status1',
- value: false,
- },
- {
- name: 'status2',
- value: false,
- },
- ];
- submitChange(item: any): void{
- console.log(item);
- // call socket here
- }
- }
|