Fixed console errors

This commit is contained in:
barsdeveloper
2022-04-15 12:21:49 +02:00
parent 8bd9ab24bb
commit 488f8eda5f
4 changed files with 27 additions and 35 deletions

View File

@@ -81,7 +81,7 @@ export default class IElement extends HTMLElement {
* @returns {V}
*/
getInputObject(type) {
return /** @type {V} */ (this.inputObjects.find(object => object.constructor == type))
return /** @type {V} */ (this.template.inputObjects.find(object => object.constructor == type))
}
// Subclasses will want to override