Skip to content

Commit

Permalink
fixes: #713 (#717) (#718)
Browse files Browse the repository at this point in the history
(cherry picked from commit 88eaefa)

Co-authored-by: Raruto <[email protected]>
  • Loading branch information
github-actions[bot] and Raruto authored Feb 6, 2025
1 parent 15150ae commit 1d4d78c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async function _clearContents() {
if (d.content instanceof Component || d.content instanceof Panel) {
await promisify(d.content.unmount());
} else {
$(GUI.getComponent('contents').parent).empty();
$(g3wsdk.gui.GUI.getComponent('contents').parent).empty();
}
}));
ApplicationState.contentsdata.splice(0, ApplicationState.contentsdata.length);
Expand Down Expand Up @@ -1034,4 +1034,4 @@ export default new (class GUI extends G3WObject {
this._layoutComponents(event);
}

});
});

0 comments on commit 1d4d78c

Please sign in to comment.