From 640fb4505c61bf52ee3ff3408f6325e3c19a64aa Mon Sep 17 00:00:00 2001 From: cloudbehl Date: Wed, 27 Sep 2023 20:26:58 +0530 Subject: [PATCH] mgr/dashboard: fixed cephfs snapshot & Quota list fixes: https://tracker.ceph.com/issues/63007 Signed-off-by: cloudbehl --- .../cephfs-directories/cephfs-directories.component.ts | 10 +++------- src/pybind/mgr/dashboard/frontend/src/styles.scss | 5 +++++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts index 9fd445dc23dd3..812176717a1dd 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts @@ -17,6 +17,7 @@ import { ConfirmationModalComponent } from '~/app/shared/components/confirmation import { CriticalConfirmationModalComponent } from '~/app/shared/components/critical-confirmation-modal/critical-confirmation-modal.component'; import { FormModalComponent } from '~/app/shared/components/form-modal/form-modal.component'; import { ActionLabelsI18n } from '~/app/shared/constants/app.constants'; +import { CellTemplate } from '~/app/shared/enum/cell-template.enum'; import { Icons } from '~/app/shared/enum/icons.enum'; import { NotificationType } from '~/app/shared/enum/notification-type.enum'; import { CdValidators } from '~/app/shared/forms/cd-validators'; @@ -200,19 +201,14 @@ export class CephfsDirectoriesComponent implements OnInit, OnChanges { { prop: 'path', name: $localize`Path`, - isHidden: true, - flexGrow: 2 + flexGrow: 1.5, + cellTransformation: CellTemplate.path }, { prop: 'created', name: $localize`Created`, flexGrow: 1, pipe: this.cdDatePipe - }, - { - prop: 'created', - name: $localize`Capacity`, - flexGrow: 1 } ], selection: new CdTableSelection(), diff --git a/src/pybind/mgr/dashboard/frontend/src/styles.scss b/src/pybind/mgr/dashboard/frontend/src/styles.scss index 47dfaf0d4512f..484756d40256c 100644 --- a/src/pybind/mgr/dashboard/frontend/src/styles.scss +++ b/src/pybind/mgr/dashboard/frontend/src/styles.scss @@ -239,3 +239,8 @@ formly-form { } } } + +// Overriding legend css due to change in bootstrap v5 and setting it to none; +legend { + float: none; +} -- 2.39.5