From: Volker Theile Date: Mon, 27 May 2019 09:39:29 +0000 (+0200) Subject: mgr/dashboard: Fixing RGW user user/bucket quota info X-Git-Tag: v15.1.0~2631^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F28174%2Fhead;p=ceph.git mgr/dashboard: Fixing RGW user user/bucket quota info Display '-' if user/bucket quota is disabled instead of displaying the current set values. Signed-off-by: Volker Theile --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.html index 304ce2327e9f..c58445e09508 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.html @@ -68,10 +68,12 @@ Maximum size - - + Unlimited - {{ user.user_quota.max_size | dimlessBinary }} @@ -79,10 +81,12 @@ Maximum objects - - + Unlimited - {{ user.user_quota.max_objects }} @@ -104,10 +108,12 @@ Maximum size - - + Unlimited - {{ user.bucket_quota.max_size | dimlessBinary }} @@ -115,10 +121,12 @@ Maximum objects - - + Unlimited - {{ user.bucket_quota.max_objects }}