From bda45225dc0afdd9e88ed6ffb09989441b96d119 Mon Sep 17 00:00:00 2001 From: Volker Theile Date: Mon, 13 Jan 2020 10:21:47 +0100 Subject: [PATCH] mgr/dashboard: Fix modals for Identifying Device and Editing OSD Fixes: https://tracker.ceph.com/issues/43544 Signed-off-by: Volker Theile --- .../src/app/ceph/cluster/osd/osd-list/osd-list.component.ts | 2 +- .../shared/components/form-modal/form-modal.component.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.ts index 89842cbf0fe..025615e496e 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.ts @@ -344,7 +344,7 @@ export class OsdListComponent implements OnInit { }), fields: [ { - type: 'inputText', + type: 'text', name: 'deviceClass', value: selectedOsd.tree.device_class, label: this.i18n('Device class'), diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.html b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.html index a7c76941afd..ced902d67cf 100755 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.html @@ -30,7 +30,7 @@ [name]="field.name" [formControlName]="field.name" cdDimlessBinary> - - {{ getError(field) }} -- 2.47.3