Merge pull request #12303 from vvlladd28/bug/mobile-center/sort-property

Add sorting functionality in Mobile Center
This commit is contained in:
Igor Kulikov 2024-12-19 18:15:08 +02:00 committed by GitHub
commit 9d0c88f053
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,7 +70,7 @@ export class MobileAppTableConfigResolver {
this.config.columns.push(
new DateEntityTableColumn<MobileApp>('createdTime', 'common.created-time', this.datePipe, '170px'),
new EntityTableColumn<MobileApp>('pkgName', 'mobile.application-package', '20%', (entity) => entity.pkgName ?? '', () => ({}),
false, () => ({}), () => undefined, false,
true, () => ({}), () => undefined, false,
{
name: this.translate.instant('mobile.copy-application-package'),
icon: 'content_copy',
@ -85,7 +85,7 @@ export class MobileAppTableConfigResolver {
}),
new EntityTableColumn<MobileApp>('appSecret', 'mobile.application-secret', '15%',
(entity) => this.truncatePipe.transform(entity.appSecret, true, 10, '…'), () => ({}),
false, () => ({}), () => undefined, false,
true, () => ({}), () => undefined, false,
{
name: this.translate.instant('mobile.copy-application-secret'),
icon: 'content_copy',