diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/editors/user-group/user-group.context.ts b/src/Umbraco.Web.UI.Client/src/backoffice/editors/user-group/user-group.context.ts index fd07a1187b..e8ffce4b48 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/editors/user-group/user-group.context.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/editors/user-group/user-group.context.ts @@ -7,7 +7,7 @@ export class UmbUserGroupContext { key: '', name: '', icon: '', - type: 'userGroup', + type: 'user-group', hasChildren: false, parentKey: '', isTrashed: false, diff --git a/src/Umbraco.Web.UI.Client/src/core/mocks/data/user-groups.data.ts b/src/Umbraco.Web.UI.Client/src/core/mocks/data/user-groups.data.ts index 118471a1cb..2167bce3cc 100644 --- a/src/Umbraco.Web.UI.Client/src/core/mocks/data/user-groups.data.ts +++ b/src/Umbraco.Web.UI.Client/src/core/mocks/data/user-groups.data.ts @@ -14,7 +14,7 @@ export const data: Array = [ name: 'Administrators', icon: 'umb:medal', parentKey: '', - type: 'userGroup', + type: 'user-group', hasChildren: false, isTrashed: false, sections: [ @@ -32,7 +32,7 @@ export const data: Array = [ name: 'Editors', icon: 'umb:tools', parentKey: '', - type: 'userGroup', + type: 'user-group', hasChildren: false, isTrashed: false, sections: ['Umb.Section.Members', 'Umb.Section.Media'], @@ -44,7 +44,7 @@ export const data: Array = [ name: 'Sensitive Data', icon: 'umb:lock', parentKey: '', - type: 'userGroup', + type: 'user-group', hasChildren: false, isTrashed: false, sections: ['Umb.Section.Settings', 'Umb.Section.Members', 'Umb.Section.Media', 'Umb.Section.Content'], @@ -56,7 +56,7 @@ export const data: Array = [ name: 'Translators', icon: 'umb:globe', parentKey: '', - type: 'userGroup', + type: 'user-group', hasChildren: false, isTrashed: false, sections: ['Umb.Section.Packages', 'Umb.Section.Settings'], @@ -68,7 +68,7 @@ export const data: Array = [ name: 'Writers', icon: 'umb:edit', parentKey: '', - type: 'userGroup', + type: 'user-group', hasChildren: false, isTrashed: false, sections: ['Umb.Section.Content'], diff --git a/src/Umbraco.Web.UI.Client/src/core/models/index.ts b/src/Umbraco.Web.UI.Client/src/core/models/index.ts index e3cb5e9436..9270784173 100644 --- a/src/Umbraco.Web.UI.Client/src/core/models/index.ts +++ b/src/Umbraco.Web.UI.Client/src/core/models/index.ts @@ -43,7 +43,7 @@ export interface UserDetails extends UserEntity { } export interface UserGroupEntity extends Entity { - type: 'userGroup'; + type: 'user-group'; } export interface UserGroupDetails extends UserGroupEntity {