fix(core): update

This commit is contained in:
2021-11-26 17:47:08 +01:00
parent a86ef5bfce
commit 3667070094
6 changed files with 1110 additions and 1681 deletions

View File

@ -92,7 +92,7 @@ export class WccDashboard extends LitElement {
.selectedTheme=${this.selectedTheme}
@selectedViewport=${(eventArg) => {
this.selectedViewport = eventArg.detail;
this.performUpdate();
this.scheduleUpdate();
}}
@selectedTheme=${(eventArg) => {
this.selectedTheme = eventArg.detail;
@ -133,7 +133,7 @@ export class WccDashboard extends LitElement {
console.log(warningTextArg);
this.warning = warningTextArg;
setTimeout(() => {
super.performUpdate();
this.scheduleUpdate();
}, 0);
}
}