We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a814e9f commit 388406eCopy full SHA for 388406e
client/src/app/dashboard/table-all/table-all.component.ts
@@ -111,9 +111,8 @@ export class TableAllComponent implements OnInit {
111
dialogRef.afterClosed().subscribe(dialogResult => {
112
if (dialogResult === 'CancleAdd') {
113
dialogRef.close();
114
- }
115
- else {
116
- console.log("dialogResult", dialogResult);
+ } else {
+ console.log('dialogResult', dialogResult);
117
this.apiService.postInstance(this.type, dialogResult.name).subscribe((result: Instance) => {
118
this.dataSource.data.push(result);
119
}, err => {
0 commit comments