From d000ef3e5c88f3a85c1bf2110b1e5374de273ddf Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 25 Oct 2023 19:35:24 +0200 Subject: [PATCH] use correct repository alias for entity actions --- .../user/user/entity-bulk-actions/manifests.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/user/entity-bulk-actions/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/user/user/entity-bulk-actions/manifests.ts index a350b335c1..a93e02b84e 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/user/entity-bulk-actions/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/user/entity-bulk-actions/manifests.ts @@ -1,4 +1,9 @@ -import { USER_REPOSITORY_ALIAS } from '../repository/manifests.js'; +import { + DISABLE_USER_REPOSITORY_ALIAS, + ENABLE_USER_REPOSITORY_ALIAS, + UNLOCK_USER_REPOSITORY_ALIAS, + USER_REPOSITORY_ALIAS, +} from '../repository/manifests.js'; import { USER_ENTITY_TYPE } from '../types.js'; import { UmbEnableUserEntityBulkAction } from './enable/enable.action.js'; import { UmbSetGroupUserEntityBulkAction } from './set-group/set-group.action.js'; @@ -32,7 +37,7 @@ const entityActions: Array = [ api: UmbEnableUserEntityBulkAction, meta: { label: 'Enable', - repositoryAlias: USER_REPOSITORY_ALIAS, + repositoryAlias: ENABLE_USER_REPOSITORY_ALIAS, }, conditions: [ { @@ -49,7 +54,7 @@ const entityActions: Array = [ api: UmbUnlockUserEntityBulkAction, meta: { label: 'Unlock', - repositoryAlias: USER_REPOSITORY_ALIAS, + repositoryAlias: UNLOCK_USER_REPOSITORY_ALIAS, }, conditions: [ { @@ -66,7 +71,7 @@ const entityActions: Array = [ api: UmbDisableUserEntityBulkAction, meta: { label: 'Disable', - repositoryAlias: USER_REPOSITORY_ALIAS, + repositoryAlias: DISABLE_USER_REPOSITORY_ALIAS, }, conditions: [ {