]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fixed cephfs snapshot & Quota list 53700/head
authorcloudbehl <cloudbehl@gmail.com>
Wed, 27 Sep 2023 14:56:58 +0000 (20:26 +0530)
committercloudbehl <cloudbehl@gmail.com>
Tue, 3 Oct 2023 13:58:58 +0000 (19:28 +0530)
fixes: https://tracker.ceph.com/issues/63007

Signed-off-by: cloudbehl <cloudbehl@gmail.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts
src/pybind/mgr/dashboard/frontend/src/styles.scss

index 9fd445dc23dd3f4f6179b36d5773447df8fb68c0..812176717a1dd9a7f2efcda0657304bd05df0b84 100644 (file)
@@ -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(),
index 47dfaf0d4512f7260c1499f96db07bfd15c4e4db..484756d40256c07480b5a9f4db2e0e7c73067ec6 100644 (file)
@@ -239,3 +239,8 @@ formly-form {
     }
   }
 }
+
+// Overriding legend css due to change in bootstrap v5 and setting it to none;
+legend {
+  float: none;
+}