From: Volker Theile Date: Mon, 20 May 2019 09:03:23 +0000 (+0200) Subject: mgr/dashboard: Fix RGW user/bucket quota issues X-Git-Tag: v15.1.0~2631^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9a883dcd6b83fd97619007854c4a92f187260a3d;p=ceph-ci.git mgr/dashboard: Fix RGW user/bucket quota issues * RGW user/bucket "max. size" should be hidden when "user/bucket quota" is not enabled * Only execute validators if necessary Fixes: https://tracker.ceph.com/issues/39964 Signed-off-by: Volker Theile --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html index c41346c6bb0..12dd06c5594 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html @@ -433,7 +433,7 @@
+ *ngIf="userForm.controls.user_quota_enabled.value && !userForm.getValue('user_quota_max_size_unlimited')">