From 6e8f122c170b8a9ff89b71ea8c77a816c687ae12 Mon Sep 17 00:00:00 2001 From: Ricardo Marques Date: Mon, 16 Sep 2019 11:30:39 +0100 Subject: [PATCH] mgr/dashboard: NFS list should display the "Pseudo Path" Fixes: https://tracker.ceph.com/issues/41815 Signed-off-by: Ricardo Marques --- .../src/app/ceph/nfs/nfs-list/nfs-list.component.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.ts index 40e5325cb863..9c9b7a9fe757 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.ts @@ -101,11 +101,16 @@ export class NfsListComponent implements OnInit, OnDestroy { ngOnInit() { this.columns = [ { - name: this.i18n('Export'), + name: this.i18n('Path'), prop: 'path', flexGrow: 2, cellTransformation: CellTemplate.executing }, + { + name: this.i18n('Pseudo'), + prop: 'pseudo', + flexGrow: 2 + }, { name: this.i18n('Cluster'), prop: 'cluster_id', @@ -137,7 +142,7 @@ export class NfsListComponent implements OnInit, OnDestroy { .value(); this.isDefaultCluster = clusters.length === 1 && clusters[0] === '_default_'; - this.columns[1].isHidden = this.isDefaultCluster; + this.columns[2].isHidden = this.isDefaultCluster; if (this.table) { this.table.updateColumns(); } -- 2.47.3