Skip to content

Commit

Permalink
Fixes the bug: 'setAttribute' on 'Element': '[' is not a valid attrib…
Browse files Browse the repository at this point in the history
…ute name
  • Loading branch information
Nicola Lanzilotto committed Mar 7, 2024
1 parent 4b5dfba commit 5bd2c08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@
matTooltip=" {{'Tags.ConversationsTAG' | translate}}"
#tooltip="matTooltip"
matTooltipPosition='right'
matTooltipHideDelay="100" [
matTooltipDisabled]="IS_OPEN">
matTooltipHideDelay="100"
[matTooltipDisabled]="IS_OPEN">
<a class="settings-sidebar-anchor">
<i *ngIf="IS_OPEN === true || IS_OPEN === false" class="material-icons settings-sidebar-icons">local_offer</i>
<p *ngIf="IS_OPEN === true" class="custom_paragraph">
Expand All @@ -176,38 +176,6 @@
</li>
</ng-container>

<!-- ------------------------------------------------------- -->
<!-- TRIGGER -->
<!-- ------------------------------------------------------- -->
<!-- <ng-container *ngIf="isVisibleTRI && USER_ROLE !== 'agent'">
<li [ngClass]="{'active-item': TRIGGER_ROUTE_IS_ACTIVE}" (click)="goToTrigger()"
matTooltipClass="custom-mat-tooltip-in-settings-sidebar" matTooltip="{{ 'Trigger.Trigger' | translate }}"
#tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" [matTooltipDisabled]="IS_OPEN">
<a>
<i *ngIf="IS_OPEN === true || IS_OPEN === false"
class="material-icons settings-sidebar-icons">generating_tokens</i>
<p *ngIf="IS_OPEN === true" class="custom_paragraph">
{{ 'Trigger.Trigger' | translate }}
<span class="trigger-beta-badge">Beta</span>
</p>
</a>
</li>
</ng-container> -->


<!-- ------------------------------------------------------- -->
<!-- Chatbot -->
<!-- ------------------------------------------------------- -->
<!-- <li [ngClass]="{'active-item': CHATBOT_ROUTE_IS_ACTIVE}" (click)="goToChatbot()"
matTooltipClass="custom-mat-tooltip-in-settings-sidebar" matTooltip="Bots" #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" [matTooltipDisabled]="IS_OPEN" >
<a>
<i *ngIf="IS_OPEN === true || IS_OPEN === false" class="material-icons settings-sidebar-icons">smart_toy</i>
<p *ngIf="IS_OPEN === true" class="custom_paragraph">
Bots
</p>
</a>
</li> -->



<!-- -------------------------------------------------------- -->
Expand Down Expand Up @@ -248,7 +216,6 @@
<i *ngIf="IS_OPEN === true || IS_OPEN === false" class="material-icons settings-sidebar-icons">hdr_auto</i>
<p *ngIf="IS_OPEN === true" class="custom_paragraph">
{{ 'Automations Log' | translate }}
<!-- <span class="trigger-beta-badge">Beta</span> -->
</p>
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ export class SettingsSidebarComponent implements OnInit {
// @ Not used 
getMainContentHeight() {
const elemMainContent = <HTMLElement>document.querySelector('.main-content')
const elemAppdashboardSettingsSidebar = <HTMLElement>(
document.querySelector('appdashboard-settings-sidebar')
)
const elemAppdashboardSettingsSidebar = <HTMLElement>( document.querySelector('appdashboard-settings-sidebar'))
this.logger.log('[SETTINGS-SIDEBAR] elemMainContent ', elemMainContent)
this.logger.log('[SETTINGS-SIDEBAR] elemAppdashboardSettingsSidebar ', elemAppdashboardSettingsSidebar)
setTimeout(() => {
Expand Down

0 comments on commit 5bd2c08

Please sign in to comment.