mock data and shorter input delay
This commit is contained in:
@@ -106,11 +106,11 @@ export class UmbEditorViewUserGroupsElement extends UmbContextConsumerMixin(UmbO
|
||||
},
|
||||
{
|
||||
columnAlias: 'userGroupContentStartNode',
|
||||
value: userGroup.contentStartNode,
|
||||
value: userGroup.contentStartNode || 'Content root',
|
||||
},
|
||||
{
|
||||
columnAlias: 'userGroupMediaStartNode',
|
||||
value: userGroup.mediaStartNode,
|
||||
value: userGroup.mediaStartNode || 'Media root',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -105,7 +105,7 @@ export class UmbEditorViewUsersOverviewElement extends UmbContextConsumerMixin(U
|
||||
private _usersContext?: UmbSectionViewUsersElement;
|
||||
private _modalService?: UmbModalService;
|
||||
private _inputTimer: any;
|
||||
private _inputTimerAmount = 750;
|
||||
private _inputTimerAmount = 500;
|
||||
|
||||
connectedCallback(): void {
|
||||
super.connectedCallback();
|
||||
|
||||
@@ -17,7 +17,14 @@ export const data: Array<UserGroupDetails> = [
|
||||
type: 'userGroup',
|
||||
hasChildren: false,
|
||||
isTrashed: false,
|
||||
sections: [],
|
||||
sections: [
|
||||
'Umb.Section.Users',
|
||||
'Umb.Section.Packages',
|
||||
'Umb.Section.Settings',
|
||||
'Umb.Section.Members',
|
||||
'Umb.Section.Media',
|
||||
'Umb.Section.Content',
|
||||
],
|
||||
permissions: [],
|
||||
},
|
||||
{
|
||||
@@ -28,8 +35,9 @@ export const data: Array<UserGroupDetails> = [
|
||||
type: 'userGroup',
|
||||
hasChildren: false,
|
||||
isTrashed: false,
|
||||
sections: [],
|
||||
sections: ['Umb.Section.Members', 'Umb.Section.Media'],
|
||||
permissions: [],
|
||||
contentStartNode: '74e4008a-ea4f-4793-b924-15e02fd380d1',
|
||||
},
|
||||
{
|
||||
key: 'b847398a-6875-4d7a-9f6d-231256b81471',
|
||||
@@ -39,8 +47,9 @@ export const data: Array<UserGroupDetails> = [
|
||||
type: 'userGroup',
|
||||
hasChildren: false,
|
||||
isTrashed: false,
|
||||
sections: [],
|
||||
sections: ['Umb.Section.Settings', 'Umb.Section.Members', 'Umb.Section.Media', 'Umb.Section.Content'],
|
||||
permissions: [],
|
||||
contentStartNode: 'cdd30288-2d1c-41b4-89a9-61647b4a10d5',
|
||||
},
|
||||
{
|
||||
key: '2668f09b-320c-48a7-a78a-95047026ec0e',
|
||||
@@ -50,8 +59,9 @@ export const data: Array<UserGroupDetails> = [
|
||||
type: 'userGroup',
|
||||
hasChildren: false,
|
||||
isTrashed: false,
|
||||
sections: [],
|
||||
sections: ['Umb.Section.Packages', 'Umb.Section.Settings'],
|
||||
permissions: [],
|
||||
contentStartNode: 'cdd30288-2d1c-41b4-89a9-61647b4a10d5',
|
||||
},
|
||||
{
|
||||
key: '397f3a8b-4ca3-4b01-9dd3-94e5c9eaa9b2',
|
||||
@@ -61,7 +71,7 @@ export const data: Array<UserGroupDetails> = [
|
||||
type: 'userGroup',
|
||||
hasChildren: false,
|
||||
isTrashed: false,
|
||||
sections: [],
|
||||
sections: ['Umb.Section.Content'],
|
||||
permissions: [],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user