clean up as we dont use this anymore
This commit is contained in:
@@ -53,7 +53,6 @@ export class UmbWorkspaceDataTypeElement extends UmbLitElement {
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.addEventListener('property-value-change', this._onPropertyValueChange);
|
||||
this.provideContext('umbWorkspaceContext', this._workspaceContext);
|
||||
this.observe(this._workspaceContext.data.pipe(distinctUntilChanged()), (dataType) => {
|
||||
if (dataType && dataType.name !== this._dataTypeName) {
|
||||
@@ -62,11 +61,6 @@ export class UmbWorkspaceDataTypeElement extends UmbLitElement {
|
||||
});
|
||||
}
|
||||
|
||||
private _onPropertyValueChange = (e: Event) => {
|
||||
const target = e.composedPath()[0] as any;
|
||||
this._workspaceContext.setPropertyValue(target?.alias, target?.value);
|
||||
};
|
||||
|
||||
// TODO. find a way where we don't have to do this for all Workspaces.
|
||||
private _handleInput(event: UUIInputEvent) {
|
||||
if (event instanceof UUIInputEvent) {
|
||||
|
||||
Reference in New Issue
Block a user