From: cloudbehl Date: Wed, 27 Sep 2023 14:56:58 +0000 (+0530) Subject: mgr/dashboard: fixed cephfs snapshot & Quota list X-Git-Tag: v19.0.0~332^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=640fb4505c61bf52ee3ff3408f6325e3c19a64aa;p=ceph-ci.git mgr/dashboard: fixed cephfs snapshot & Quota list fixes: https://tracker.ceph.com/issues/63007 Signed-off-by: cloudbehl --- 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 9fd445dc23d..812176717a1 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 47dfaf0d451..484756d4025 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; +}