Browse Source

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

Add sorting functionality in Mobile Center
pull/12314/head
Igor Kulikov 2 years ago
committed by GitHub
parent
commit
9d0c88f053
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      ui-ngx/src/app/modules/home/pages/mobile/applications/mobile-app-table-config.resolver.ts

4
ui-ngx/src/app/modules/home/pages/mobile/applications/mobile-app-table-config.resolver.ts

@ -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',

Loading…
Cancel
Save