Merge pull request #53700 from cloudbehl/cephfs-snapshot

mgr/dashboard: Fixed cephfs snapshot listing in directories

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
This commit is contained in:
Nizamudeen A 2023-10-05 19:40:32 +05:30 committed by GitHub
commit 7f32bce6c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View 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(),

View File

@ -239,3 +239,8 @@ formly-form {
}
}
}
// Overriding legend css due to change in bootstrap v5 and setting it to none;
legend {
float: none;
}