Masum ULU
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
3 deletions
-
npm/ng-packs/packages/components/extensible/src/lib/components/grid-actions/grid-actions.component.ts
|
|
|
@ -4,13 +4,12 @@ import { |
|
|
|
Injector, |
|
|
|
Input, |
|
|
|
TrackByFunction, |
|
|
|
inject, |
|
|
|
} from '@angular/core'; |
|
|
|
import { EntityAction, EntityActionList } from '../../models/entity-actions'; |
|
|
|
import { EXTENSIONS_ACTION_TYPE } from '../../tokens/extensions.token'; |
|
|
|
import { AbstractActionsComponent } from '../abstract-actions/abstract-actions.component'; |
|
|
|
import { NgbDropdownModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'; |
|
|
|
import { LocalizationModule, PermissionDirective, PermissionService } from '@abp/ng.core'; |
|
|
|
import { LocalizationModule, PermissionDirective } from '@abp/ng.core'; |
|
|
|
import { EllipsisDirective } from '@abp/ng.theme.shared'; |
|
|
|
import { NgClass, NgTemplateOutlet } from '@angular/common'; |
|
|
|
|
|
|
|
@ -44,7 +43,6 @@ export class GridActionsComponent<R = any> extends AbstractActionsComponent<Enti |
|
|
|
@Input() text = ''; |
|
|
|
|
|
|
|
readonly trackByFn: TrackByFunction<EntityAction<R>> = (_, item) => item.text; |
|
|
|
public readonly permissionService = inject(PermissionService); |
|
|
|
|
|
|
|
constructor(injector: Injector) { |
|
|
|
super(injector); |
|
|
|
|