From 8d378356f28fb1ee98b929158e862f8f120043c9 Mon Sep 17 00:00:00 2001 From: Ricardo Dias Date: Wed, 14 Feb 2018 18:09:15 +0000 Subject: [PATCH] mgr/dashboard_v2: fix visibility of frontend class properties Signed-off-by: Ricardo Dias --- .../table-performance-counter.component.ts | 4 ++-- .../rgw/rgw-daemon-details/rgw-daemon-details.component.ts | 4 ++-- .../app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.ts | 4 ++-- .../datatable/table-key-value/table-key-value.component.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.ts b/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.ts index 24ef9487fd9..9f9c70c65e7 100644 --- a/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.ts +++ b/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.ts @@ -13,8 +13,8 @@ import { TablePerformanceCounterService } from '../services/table-performance-co }) export class TablePerformanceCounterComponent implements OnInit { - private columns: Array = []; - private counters: Array = []; + columns: Array = []; + counters: Array = []; @ViewChild('valueTpl') public valueTpl: TemplateRef; diff --git a/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.ts b/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.ts index d9f8ff52617..f5cef494366 100644 --- a/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.ts +++ b/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.ts @@ -11,8 +11,8 @@ import { RgwDaemonService } from '../services/rgw-daemon.service'; }) export class RgwDaemonDetailsComponent implements OnInit { - private metadata: Array = []; - private serviceId = ''; + metadata: Array = []; + serviceId = ''; @Input() selected?: Array = []; diff --git a/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.ts b/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.ts index 35b8e900217..c9d02510abd 100644 --- a/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.ts +++ b/src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.ts @@ -11,8 +11,8 @@ import { RgwDaemonService } from '../services/rgw-daemon.service'; }) export class RgwDaemonListComponent implements OnInit { - private columns: Array = []; - private daemons: Array = []; + columns: Array = []; + daemons: Array = []; detailsComponent = 'RgwDaemonDetailsComponent'; diff --git a/src/pybind/mgr/dashboard_v2/frontend/src/app/shared/components/datatable/table-key-value/table-key-value.component.ts b/src/pybind/mgr/dashboard_v2/frontend/src/app/shared/components/datatable/table-key-value/table-key-value.component.ts index 1b641a7f90a..294c34f1f68 100644 --- a/src/pybind/mgr/dashboard_v2/frontend/src/app/shared/components/datatable/table-key-value/table-key-value.component.ts +++ b/src/pybind/mgr/dashboard_v2/frontend/src/app/shared/components/datatable/table-key-value/table-key-value.component.ts @@ -18,7 +18,7 @@ import { CdTableColumn } from '../../../models/cd-table-column'; }) export class TableKeyValueComponent implements OnInit { - private columns: Array = []; + columns: Array = []; /** * An array of objects to be displayed in the data table. -- 2.39.5