Skip to content

Commit 388406e

Browse files
committed
fixed linting error
1 parent a814e9f commit 388406e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

client/src/app/dashboard/table-all/table-all.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,8 @@ export class TableAllComponent implements OnInit {
111111
dialogRef.afterClosed().subscribe(dialogResult => {
112112
if (dialogResult === 'CancleAdd') {
113113
dialogRef.close();
114-
}
115-
else {
116-
console.log("dialogResult", dialogResult);
114+
} else {
115+
console.log('dialogResult', dialogResult);
117116
this.apiService.postInstance(this.type, dialogResult.name).subscribe((result: Instance) => {
118117
this.dataSource.data.push(result);
119118
}, err => {

0 commit comments

Comments
 (0)