diff --git a/.github/workflows/deploy-pages-daily.yml b/.github/workflows/deploy-pages-daily.yml index cf5fd8e498a..e58ded4ace8 100644 --- a/.github/workflows/deploy-pages-daily.yml +++ b/.github/workflows/deploy-pages-daily.yml @@ -2,6 +2,8 @@ name: Deploy to GitHub Pages (DEV Version) on: workflow_dispatch: + schedule: + - cron: '0 6 * * 1-4' permissions: contents: write diff --git a/packages/core/src/components/application-header/application-header.tsx b/packages/core/src/components/application-header/application-header.tsx index e2e385fb33e..725e18bb54e 100644 --- a/packages/core/src/components/application-header/application-header.tsx +++ b/packages/core/src/components/application-header/application-header.tsx @@ -49,7 +49,7 @@ export class ApplicationHeader { @State() menuExpanded = false; @State() suppressResponsive = false; - @State() isSlotted = false; + @State() hasSlottedElements = false; private menuDisposable?: Disposable; private modeDisposable?: Disposable; @@ -158,15 +158,11 @@ export class ApplicationHeader { ); } - private slotUpdated(): void { - this.updateIsSlottedContent(); - } - private updateIsSlottedContent() { const slotElement = this.hostElement.shadowRoot.querySelector('.content slot'); - this.isSlotted = hasSlottedElements(slotElement); + this.hasSlottedElements = hasSlottedElements(slotElement); } render() { @@ -201,7 +197,7 @@ export class ApplicationHeader { ) : ( - this.slotUpdated()}> + this.updateIsSlottedContent()}> )}