Merge pull request #12303 from vvlladd28/bug/mobile-center/sort-property
Add sorting functionality in Mobile Center
This commit is contained in:
commit
9d0c88f053
@ -70,7 +70,7 @@ export class MobileAppTableConfigResolver {
|
|||||||
this.config.columns.push(
|
this.config.columns.push(
|
||||||
new DateEntityTableColumn<MobileApp>('createdTime', 'common.created-time', this.datePipe, '170px'),
|
new DateEntityTableColumn<MobileApp>('createdTime', 'common.created-time', this.datePipe, '170px'),
|
||||||
new EntityTableColumn<MobileApp>('pkgName', 'mobile.application-package', '20%', (entity) => entity.pkgName ?? '', () => ({}),
|
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'),
|
name: this.translate.instant('mobile.copy-application-package'),
|
||||||
icon: 'content_copy',
|
icon: 'content_copy',
|
||||||
@ -85,7 +85,7 @@ export class MobileAppTableConfigResolver {
|
|||||||
}),
|
}),
|
||||||
new EntityTableColumn<MobileApp>('appSecret', 'mobile.application-secret', '15%',
|
new EntityTableColumn<MobileApp>('appSecret', 'mobile.application-secret', '15%',
|
||||||
(entity) => this.truncatePipe.transform(entity.appSecret, true, 10, '…'), () => ({}),
|
(entity) => this.truncatePipe.transform(entity.appSecret, true, 10, '…'), () => ({}),
|
||||||
false, () => ({}), () => undefined, false,
|
true, () => ({}), () => undefined, false,
|
||||||
{
|
{
|
||||||
name: this.translate.instant('mobile.copy-application-secret'),
|
name: this.translate.instant('mobile.copy-application-secret'),
|
||||||
icon: 'content_copy',
|
icon: 'content_copy',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user