From c1e553ccabd27daa525afc32685e54928d33a47f Mon Sep 17 00:00:00 2001 From: Waad Alkhoury Date: Thu, 1 Apr 2021 11:07:14 +0200 Subject: [PATCH] mgr/dashboard: Warn the user when creating/editing pools without application tags Added warning icon when no application tag is selected Fixes: https://tracker.ceph.com/issues/40676 Signed-off-by: Waad Alkhoury --- .../src/app/ceph/pool/pool-form/pool-form.component.html | 6 +++++- .../src/app/ceph/pool/pool-form/pool-form.component.scss | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html index f62a7283feb..dd45a461645 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html @@ -184,9 +184,13 @@ [selectionLimit]="4" (selection)="appSelection()"> + + -
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.scss b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.scss index e69de29bb2d..587d5d6b144 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.scss +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.scss @@ -0,0 +1,3 @@ +.icon-warning-color { + margin-left: 3px; +}