|
|
@ -81,7 +81,7 @@ export class ApiKeysTableConfig extends EntityTableConfig<ApiKeyInfo> { |
|
|
new DateEntityTableColumn<ApiKeyInfo>('createdTime', 'common.created-time', this.datePipe, '170px'), |
|
|
new DateEntityTableColumn<ApiKeyInfo>('createdTime', 'common.created-time', this.datePipe, '170px'), |
|
|
new EntityTableColumn<ApiKeyInfo>('description', 'api-key.description', '100%', |
|
|
new EntityTableColumn<ApiKeyInfo>('description', 'api-key.description', '100%', |
|
|
(entity) => this.customTranslate.transform(entity?.description), () => ({}), true, () => ({}), |
|
|
(entity) => this.customTranslate.transform(entity?.description), () => ({}), true, () => ({}), |
|
|
(entity) => entity?.description.length > 80 ? this.customTranslate.transform(entity.description) : undefined, false, |
|
|
(entity) => entity?.description.length > 40 ? this.customTranslate.transform(entity.description) : undefined, false, |
|
|
{ |
|
|
{ |
|
|
name: this.translate.instant('api-key.edit-description'), |
|
|
name: this.translate.instant('api-key.edit-description'), |
|
|
icon: 'edit', |
|
|
icon: 'edit', |
|
|
|