Skip to content

Commit

Permalink
Adds the ability to select the "Business Owner" role in the first ste…
Browse files Browse the repository at this point in the history
…p of onboarding
  • Loading branch information
Nicola Lanzilotto committed Nov 21, 2023
1 parent a378351 commit ed8e3c1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# tiledesk-dashboard

### 2.4.78
- Deploys in production
- Adds the ability to select the "Business Owner" role in the first step of onboarding

### 2.4.77
- Deploys in production
- Fixes the bug: unable to update intent due to missing "id_faq_kb" parameter in PUT API call
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tiledesk/tiledesk-dashboard",
"version": "2.4.77",
"version": "2.4.78",
"scripts": {
"ng": "ng",
"start": "ng serve --aot",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,14 @@ <h2 class="onboarding-templt-page-title" [ngClass]="{'onboarding-templt-page-tit


<div class="template-preview-card-import-and-start-from-scratch">
<div style="color: #3ea9f5;" (class)="template-preview--link"
<div class="btn btn-primary"
(click)="forkTemplate()">

{{ 'ImportChatbot' | translate}}
</div>
<div style="color: #3c4858;"> {{ 'Or' | translate}} </div>
<div style="color: #3ea9f5;" (class)="template-preview--link"
<div style="color: #3ea9f5;" class="template-preview--link"
(click)="presentModalAddBotFromScratch()">
<!-- Start from scratch -->
{{ 'StartFromScratch' | translate}}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,13 +314,11 @@ $color-pro-plan: #3ea9f5;

.template-preview-card-import-and-start-from-scratch {
height: 100%;
// background: antiquewhite;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
font-weight: 500;
//
font-size: 16px;
font-weight: 400;
gap: 6px
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class CnpTemplatesComponent implements OnInit, AfterViewInit, OnChanges {
this.projectid = this.updatedProject._id
// console.log('[CNP-TEMPLATES] - updatedProject > projectid', this.projectid)

if (userPreferences.user_role === 'developer' || userPreferences.user_role === 'conversation_designer' || userPreferences.user_role === 'no_code_builder' || userPreferences.user_role === 'business_stakeholder') {
if (userPreferences.user_role === 'business_owner'|| userPreferences.user_role === 'developer' || userPreferences.user_role === 'conversation_designer' || userPreferences.user_role === 'no_code_builder' || userPreferences.user_role === 'business_stakeholder') {
this.DIPLAY_CUSTOM_SUBTITLE = false;
const userRole = this.translate.instant(userPreferences.user_role)

Expand Down

0 comments on commit ed8e3c1

Please sign in to comment.