diff --git a/force-app/main/default/lwc/hot_decoratorEventEmitter/hot_decoratorEventEmitter.html b/force-app/main/default/lwc/hot_decoratorEventEmitter/hot_decoratorEventEmitter.html deleted file mode 100644 index 27e0f695..00000000 --- a/force-app/main/default/lwc/hot_decoratorEventEmitter/hot_decoratorEventEmitter.html +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/force-app/main/default/lwc/hot_decoratorEventEmitter/hot_decoratorEventEmitter.js b/force-app/main/default/lwc/hot_decoratorEventEmitter/hot_decoratorEventEmitter.js deleted file mode 100644 index c46b2eec..00000000 --- a/force-app/main/default/lwc/hot_decoratorEventEmitter/hot_decoratorEventEmitter.js +++ /dev/null @@ -1,13 +0,0 @@ -import { LightningElement, api } from 'lwc'; - -export default class Hot_decoratorEventEmitter extends LightningElement { - @api delayInMilliseconds; - @api context; - - connectedCallback() { - // trigger en authupdate i dekorator for å bli kvitt "Laster...". - setTimeout(() => { - dispatchEvent(new CustomEvent('paramsupdated', { detail: { params: { context: this.context } } })); - }, this.delayInMilliseconds ?? 100); - } -} diff --git a/force-app/main/default/lwc/hot_decoratorEventEmitter/hot_decoratorEventEmitter.js-meta.xml b/force-app/main/default/lwc/hot_decoratorEventEmitter/hot_decoratorEventEmitter.js-meta.xml deleted file mode 100644 index 2fb24163..00000000 --- a/force-app/main/default/lwc/hot_decoratorEventEmitter/hot_decoratorEventEmitter.js-meta.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - 62.0 - true - - lightningCommunity__Page - lightningCommunity__Default - - HOT Decorator Refresher - - - - - - - \ No newline at end of file