user group

This commit is contained in:
Niels Lyngsø
2023-01-02 19:41:38 +01:00
parent c1493237be
commit 337d43c224

View File

@@ -1,5 +1,6 @@
import { UmbWorkspaceNodeContext } from '../../../backoffice/core/components/workspace/workspace-context/workspace-node.context';
import type { UmbUserGroupStore, UmbUserGroupStoreItemType } from 'src/auth/user-groups/user-group.store';
import { UmbControllerHostInterface } from 'src/core/controller/controller-host.mixin';
const DefaultDataTypeData = {
key: '',
@@ -17,7 +18,7 @@ export class UmbWorkspaceUserGroupContext extends UmbWorkspaceNodeContext<
UmbUserGroupStoreItemType,
UmbUserGroupStore
> {
constructor(target: HTMLElement, entityKey: string) {
super(target, DefaultDataTypeData, 'umbUserStore', entityKey, 'userGroup');
constructor(host: UmbControllerHostInterface, entityKey: string) {
super(host, DefaultDataTypeData, 'umbUserStore', entityKey, 'userGroup');
}
}