From: Patrick Nawracay Date: Tue, 16 Oct 2018 10:03:48 +0000 (+0200) Subject: mgr/dashboard: Fix spaces around status labels on OSD list X-Git-Tag: v14.0.1~12^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24607%2Fhead;p=ceph.git mgr/dashboard: Fix spaces around status labels on OSD list Signed-off-by: Patrick Nawracay --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html index 3c031b4cc10c..61b146e6b565 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html @@ -34,9 +34,7 @@ let-value="value"> - {{ state }} - + [ngClass]="{'label-success': ['in', 'up'].includes(state), 'label-danger': ['down', 'out'].includes(state)}">{{ state }}