Skip to content

Commit

Permalink
Add display: none to DxLicenseTrigger (#27581)
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaKhD authored Jun 11, 2024
1 parent e075fc5 commit 7777997
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/devextreme/js/__internal/core/license/trial_panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ class DxLicenseTrigger extends SafeHTMLElement {
private readonly that = this as unknown as HTMLElement;

public connectedCallback(): void {
this.that.style.display = 'none';

const licensePanel = document.getElementsByTagName(componentNames.panel);
if (!licensePanel.length) {
const license = document.createElement(componentNames.panel);
Expand Down

0 comments on commit 7777997

Please sign in to comment.