From: Ricardo Marques Date: Mon, 16 Sep 2019 10:30:39 +0000 (+0100) Subject: mgr/dashboard: NFS list should display the "Pseudo Path" X-Git-Tag: v15.1.0~1461^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6e8f122c170b8a9ff89b71ea8c77a816c687ae12;p=ceph.git mgr/dashboard: NFS list should display the "Pseudo Path" Fixes: https://tracker.ceph.com/issues/41815 Signed-off-by: Ricardo Marques --- 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(); }