|
|
@ -16,14 +16,13 @@ In this example, we will add a "Click Me!" action and alert the current row's `u |
|
|
|
|
|
|
|
|
The following code prepares a constant named `identityEntityActionContributors`, ready to be imported and used in your root module: |
|
|
The following code prepares a constant named `identityEntityActionContributors`, ready to be imported and used in your root module: |
|
|
|
|
|
|
|
|
```js |
|
|
```ts |
|
|
// src/app/entity-action-contributors.ts |
|
|
// src/app/entity-action-contributors.ts |
|
|
|
|
|
|
|
|
import { |
|
|
import { eIdentityComponents, IdentityEntityActionContributors } from '@abp/ng.identity'; |
|
|
eIdentityComponents, |
|
|
|
|
|
IdentityEntityActionContributors, |
|
|
import { IdentityUserDto } from '@abp/ng.identity/proxy'; |
|
|
IdentityUserDto, |
|
|
|
|
|
} from '@abp/ng.identity'; |
|
|
|
|
|
import { EntityAction, EntityActionList } from '@abp/ng.theme.shared/extensions'; |
|
|
import { EntityAction, EntityActionList } from '@abp/ng.theme.shared/extensions'; |
|
|
|
|
|
|
|
|
const alertUserName = new EntityAction<IdentityUserDto>({ |
|
|
const alertUserName = new EntityAction<IdentityUserDto>({ |
|
|
|