Skip to content

Commit

Permalink
Bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Lanzilotto committed Dec 9, 2024
1 parent 88234b4 commit e33cdb1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/app/bots/bot-create/bot-create.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,9 @@ <h3 class="card_title__underlined">
<label class="col-sm-2" *ngIf="botType !== 'dialogflow'"></label>
<div class="col-sm-10"
[ngClass]="{'col-sm-10' : botType !== 'dialogflow', 'col-sm-12' : botType === 'dialogflow'}">

<!-- btn-primary -->
<button id="create-bot-btn" [ngStyle]="{'margin-left':botType === 'dialogflow' ? '30px' : 0 }"
class="btn btn-primary" [disabled]="btn_create_bot_is_disabled" (click)="createBot()">
class="btn btn-tdblu-no-boxshadow" [disabled]="btn_create_bot_is_disabled" (click)="createBot()">
{{ "BotsAddEditPage.CreateBot" | translate }}
</button>
</div>
Expand Down
4 changes: 0 additions & 4 deletions src/app/components/sidebar/sidebar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@
d="M390-120q-51 0-88-35.5T260-241q-60-8-100-53t-40-106q0-21 5.5-41.5T142-480q-11-18-16.5-38t-5.5-42q0-61 40-105.5t99-52.5q3-51 41-86.5t90-35.5q26 0 48.5 10t41.5 27q18-17 41-27t49-10q52 0 89.5 35t40.5 86q59 8 99.5 53T840-560q0 22-5.5 42T818-480q11 18 16.5 38.5T840-400q0 62-40.5 106.5T699-241q-5 50-41.5 85.5T570-120q-25 0-48.5-9.5T480-156q-19 17-42 26.5t-48 9.5Zm130-590v460q0 21 14.5 35.5T570-200q20 0 34.5-16t15.5-36q-21-8-38.5-21.5T550-306q-10-14-7.5-30t16.5-26q14-10 30-7.5t26 16.5q11 16 28 24.5t37 8.5q33 0 56.5-23.5T760-400q0-5-.5-10t-2.5-10q-17 10-36.5 15t-40.5 5q-17 0-28.5-11.5T640-440q0-17 11.5-28.5T680-480q33 0 56.5-23.5T760-560q0-33-23.5-56T680-640q-11 18-28.5 31.5T613-587q-16 6-31-1t-20-23q-5-16 1.5-31t22.5-20q15-5 24.5-18t9.5-30q0-21-14.5-35.5T570-760q-21 0-35.5 14.5T520-710Zm-80 460v-460q0-21-14.5-35.5T390-760q-21 0-35.5 14.5T340-710q0 16 9 29.5t24 18.5q16 5 23 20t2 31q-6 16-21 23t-31 1q-21-8-38.5-21.5T279-640q-32 1-55.5 24.5T200-560q0 33 23.5 56.5T280-480q17 0 28.5 11.5T320-440q0 17-11.5 28.5T280-400q-21 0-40.5-5T203-420q-2 5-2.5 10t-.5 10q0 33 23.5 56.5T280-320q20 0 37-8.5t28-24.5q10-14 26-16.5t30 7.5q14 10 16.5 26t-7.5 30q-14 19-32 33t-39 22q1 20 16 35.5t35 15.5q21 0 35.5-14.5T440-250Zm40-230Z" />
</svg>
</span>


<span *ngIf="new_messages_count !== null && new_messages_count > 0 "
class="new-messages-count"> {{new_messages_count}} </span>
</a>
</div>
</ng-container>
Expand Down
8 changes: 6 additions & 2 deletions src/app/components/sidebar/sidebar.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
fill: var(--sidebar-hover-icon-color);
}

.nav-custom > div > #openchat-a {
position: relative;
}

.nav-custom > div > #openchat-a > span > svg > g > path {
stroke: var(--sidebar-icon-color);
}
Expand Down Expand Up @@ -1529,8 +1533,8 @@ button.close {
line-height: 12px;
letter-spacing: 0px;
position: absolute;
right: 6px;
bottom: 18px;
right: 5px;
bottom: 30px;
}


Expand Down
2 changes: 1 addition & 1 deletion src/app/user-edit-add/user-edit-add.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@
<div class="col-sm-10">

<!-- btn-primary update-pu-btn -->
<button [disabled]="CURRENT_USER_ROLE === 'agent'" class="btn btn-tdblu-no-boxshadow"
<button [disabled]="CURRENT_USER_ROLE === 'agent'" class="btn btn-tdblu-no-boxshadow update-pu-btn"
(click)="updateUserRoleAndMaxchat(); ">
{{ "UserEditAddPage.Update" | translate }}
</button>
Expand Down

0 comments on commit e33cdb1

Please sign in to comment.