From a50aed0674f5c85c89feb8045c624fc2ac854aee Mon Sep 17 00:00:00 2001 From: ishwaryaPaderborn <34371611+ishwaryaPaderborn@users.noreply.github.com> Date: Fri, 18 Jan 2019 23:53:01 +0100 Subject: [PATCH 1/5] Corresponding icons will be enabled or disabled based on an Insatnce state --- .../src/app/dashboard/table-all/table-all.component.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/app/dashboard/table-all/table-all.component.html b/client/src/app/dashboard/table-all/table-all.component.html index 9d77732c..d78e16d8 100644 --- a/client/src/app/dashboard/table-all/table-all.component.html +++ b/client/src/app/dashboard/table-all/table-all.component.html @@ -56,16 +56,16 @@ Instance not hosted with docker. - - - - - - - - From 388406e925969d1ba4f69df7505f261605c0df73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Niclas=20Str=C3=BCwer?= Date: Sun, 20 Jan 2019 17:21:38 +0100 Subject: [PATCH 5/5] fixed linting error --- client/src/app/dashboard/table-all/table-all.component.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/app/dashboard/table-all/table-all.component.ts b/client/src/app/dashboard/table-all/table-all.component.ts index 724170a9..cd00ccec 100644 --- a/client/src/app/dashboard/table-all/table-all.component.ts +++ b/client/src/app/dashboard/table-all/table-all.component.ts @@ -111,9 +111,8 @@ export class TableAllComponent implements OnInit { dialogRef.afterClosed().subscribe(dialogResult => { if (dialogResult === 'CancleAdd') { dialogRef.close(); - } - else { - console.log("dialogResult", dialogResult); + } else { + console.log('dialogResult', dialogResult); this.apiService.postInstance(this.type, dialogResult.name).subscribe((result: Instance) => { this.dataSource.data.push(result); }, err => {