stop events
This commit is contained in:
@@ -44,21 +44,25 @@ export class UmbUserGroupWorkspaceEditorElement extends UmbLitElement {
|
||||
}
|
||||
|
||||
#onSectionsChange(event: UmbChangeEvent) {
|
||||
event.stopPropagation();
|
||||
const target = event.target as UmbInputSectionElement;
|
||||
this.#workspaceContext?.updateProperty('sections', target.value);
|
||||
}
|
||||
|
||||
#onDocumentStartNodeChange(event: CustomEvent) {
|
||||
event.stopPropagation();
|
||||
const target = event.target as UmbInputDocumentElement;
|
||||
this.#workspaceContext?.updateProperty('documentStartNodeId', target.selectedIds[0]);
|
||||
}
|
||||
|
||||
#onMediaStartNodeChange(event: CustomEvent) {
|
||||
event.stopPropagation();
|
||||
const target = event.target as UmbInputMediaElement;
|
||||
this.#workspaceContext?.updateProperty('mediaStartNodeId', target.selectedIds[0]);
|
||||
}
|
||||
|
||||
#onUsersChange(event: UmbChangeEvent) {
|
||||
event.stopPropagation();
|
||||
const target = event.target as UmbUserInputElement;
|
||||
this.#workspaceContext?.updateUserKeys(target.selectedIds);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user