Item Support #69
1 changed files with 0 additions and 4 deletions
|
|
@ -10,7 +10,6 @@ const components = [
|
||||||
];
|
];
|
||||||
|
|
||||||
export function registerCustomComponents() {
|
export function registerCustomComponents() {
|
||||||
(CONFIG.CACHE ??= {}).componentListeners ??= [];
|
|
||||||
for (const component of components) {
|
for (const component of components) {
|
||||||
if (!window.customElements.get(component.elementName)) {
|
if (!window.customElements.get(component.elementName)) {
|
||||||
Logger.debug(`Registering component "${component.elementName}"`);
|
Logger.debug(`Registering component "${component.elementName}"`);
|
||||||
|
|
@ -18,9 +17,6 @@ export function registerCustomComponents() {
|
||||||
component.elementName,
|
component.elementName,
|
||||||
component,
|
component,
|
||||||
);
|
);
|
||||||
if (component.formAssociated) {
|
|
||||||
CONFIG.CACHE.componentListeners.push(component.elementName);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue