summaryrefslogtreecommitdiffstats
path: root/public/src/app/home/home.component.ts
diff options
context:
space:
mode:
authork.kedron <k.kedron@partner.samsung.com>2019-06-11 16:24:16 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-06-17 07:17:46 +0000
commitdf4ec4191e8d9f3704c315d5122048ef5f757cef (patch)
tree6ed2bea03f2725e7cf2afd728a1026e66ee0ac80 /public/src/app/home/home.component.ts
parenteb9e0279ef30e090aba983d6d0534e94b57777fd (diff)
Set visible action buttons on the monitoring dashboard.
Change css in the home component to setup the action buttons visible from the beginning. Fixed select event (change selected event this event don't exist to select event). Changed to one array initialization. Issue-ID: SDC-2363 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I87481002e0c8586aaafb6bad18479ad0715f61c7
Diffstat (limited to 'public/src/app/home/home.component.ts')
-rw-r--r--public/src/app/home/home.component.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/public/src/app/home/home.component.ts b/public/src/app/home/home.component.ts
index ef29043..3b863b0 100644
--- a/public/src/app/home/home.component.ts
+++ b/public/src/app/home/home.component.ts
@@ -22,7 +22,7 @@ export class HomeComponent {
linkToMain: string;
showTable = true;
selectedLine = [];
- unavailableMonitoringComponents = new Array();
+ unavailableMonitoringComponents = [];
hoveredIndex = 1;
dialogRef;
deleteRow: number;
@@ -173,9 +173,8 @@ export class HomeComponent {
this.route.navigate([this.linkToMain + '/' + item.uuid]);
}
- onTableSelectItem(item: any): void {
- this.selectedLine = item;
- console.log('selected : ', item);
+ onTableSelectItem(): void {
+ console.log('selected', this.selectedLine);
}
deleteTableItem(item: any, index: any): void {