fix(dees-chart-area): Improve resize handling and initial rendering for better responsiveness

fix(dees-chart-log): Simplify firstUpdated method by removing unnecessary variable
This commit is contained in:
Juergen Kunz
2025-06-12 11:00:33 +00:00
parent fad7fda2a6
commit e39590df2c
3 changed files with 72 additions and 18 deletions

View File

@ -5,8 +5,6 @@ import {
customElement,
html,
property,
state,
type CSSResult,
type TemplateResult,
} from '@design.estate/dees-element';
@ -259,7 +257,7 @@ export class DeesChartLog extends DeesElement {
}
public async firstUpdated() {
const domtoolsInstance = await this.domtoolsPromise;
await this.domtoolsPromise;
this.logContainer = this.shadowRoot.querySelector('.logContainer');
// Initialize with demo server logs