From: Pedro Gonzalez Gomez Date: Mon, 2 Oct 2023 08:35:08 +0000 (+0200) Subject: mgr/dashboard: rbd image hide usage bar when disk usage is not provided X-Git-Tag: v18.2.1~232^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=becda28bb0717187ea7d973aff30b7619c674a69;p=ceph.git mgr/dashboard: rbd image hide usage bar when disk usage is not provided Fixes: https://tracker.ceph.com/issues/63037 Signed-off-by: Pedro Gonzalez Gomez (cherry picked from commit 17d87af98a60471fc72cab4e6d5a53caf1847842) --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.html index 41bf663be3b9..6f85bf6db77d 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.html @@ -27,31 +27,6 @@ - -
-
- - - N/A - {{row.disk_usage | dimlessBinary}} - - - - N/A - {{row.total_disk_usage | dimlessBinary}} - - {{ value.pool_name }} - + + - + + + + + + + + +
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts index a145fb2b64d2..8fc36a4cb479 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts @@ -63,10 +63,6 @@ export class RbdListComponent extends ListWithDetails implements OnInit { deleteTpl: TemplateRef; @ViewChild('removingStatTpl', { static: true }) removingStatTpl: TemplateRef; - @ViewChild('provisionedNotAvailableTooltipTpl', { static: true }) - provisionedNotAvailableTooltipTpl: TemplateRef; - @ViewChild('totalProvisionedNotAvailableTooltipTpl', { static: true }) - totalProvisionedNotAvailableTooltipTpl: TemplateRef; @ViewChild('forcePromoteConfirmation', { static: true }) forcePromoteConfirmation: TemplateRef; @ViewChild('usedTmpl', { static: true })