Skip to content

Commit c18276c

Browse files
committed
fix pg grid
1 parent 65b43b0 commit c18276c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/web-component-designer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"description": "A WYSIWYG designer webcomponent for html components",
33
"name": "@node-projects/web-component-designer",
4-
"version": "0.1.281",
4+
"version": "0.1.282",
55
"type": "module",
66
"main": "./dist/index.js",
77
"author": "jochen.kuehner@gmx.de",

packages/web-component-designer/src/elements/widgets/propertyGrid/PropertyGridWithHeader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export class PropertyGridWithHeader extends BaseCustomWebComponentLazyAppend {
155155
public set instanceServiceContainer(value: InstanceServiceContainer) {
156156
this._instanceServiceContainer = value;
157157
this._selectionChangedHandler?.dispose()
158-
if (this.instanceServiceContainer) {
158+
if (this._instanceServiceContainer) {
159159
this._selectionChangedHandler = this._instanceServiceContainer.selectionService.onSelectionChanged.on(async e => {
160160
this.propertyGrid.instanceServiceContainer = value;
161161
await sleep(20); // delay assignment a little bit, so onblur above could still set the value.

0 commit comments

Comments
 (0)