use dash in user group type
This commit is contained in:
@@ -7,7 +7,7 @@ export class UmbUserGroupContext {
|
||||
key: '',
|
||||
name: '',
|
||||
icon: '',
|
||||
type: 'userGroup',
|
||||
type: 'user-group',
|
||||
hasChildren: false,
|
||||
parentKey: '',
|
||||
isTrashed: false,
|
||||
|
||||
@@ -14,7 +14,7 @@ export const data: Array<UserGroupDetails> = [
|
||||
name: 'Administrators',
|
||||
icon: 'umb:medal',
|
||||
parentKey: '',
|
||||
type: 'userGroup',
|
||||
type: 'user-group',
|
||||
hasChildren: false,
|
||||
isTrashed: false,
|
||||
sections: [
|
||||
@@ -32,7 +32,7 @@ export const data: Array<UserGroupDetails> = [
|
||||
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<UserGroupDetails> = [
|
||||
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<UserGroupDetails> = [
|
||||
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<UserGroupDetails> = [
|
||||
name: 'Writers',
|
||||
icon: 'umb:edit',
|
||||
parentKey: '',
|
||||
type: 'userGroup',
|
||||
type: 'user-group',
|
||||
hasChildren: false,
|
||||
isTrashed: false,
|
||||
sections: ['Umb.Section.Content'],
|
||||
|
||||
@@ -43,7 +43,7 @@ export interface UserDetails extends UserEntity {
|
||||
}
|
||||
|
||||
export interface UserGroupEntity extends Entity {
|
||||
type: 'userGroup';
|
||||
type: 'user-group';
|
||||
}
|
||||
|
||||
export interface UserGroupDetails extends UserGroupEntity {
|
||||
|
||||
Reference in New Issue
Block a user