Skip to content

Commit

Permalink
### 1.17.1-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Jul 16, 2024
1 parent 8fe68a3 commit 67941a0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
*Giovanni Troisi*
### **Copyrigth**: *Tiledesk SRL*

### 1.17.1-rc.2
👉 **added**: check to hide/show actionCategory

### 1.17.1-rc.1
👉 **bug-fixed**: if two or more cds-action-reply-v2 is in the same intent, when user select one of them, also the first action is selected

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,7 +1,7 @@
{
"name": "@tiledesk/cds",
"author": "Tiledesk SRL",
"version": "1.17.1-rc.1",
"version": "1.17.1-rc.2",
"license": "MIT",
"homepage": "https://www.tiledesk.com",
"repository": {
Expand Down
3 changes: 0 additions & 3 deletions src/app/utils/project-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,21 +137,18 @@ export class ProjectPlanUtils {
// ------------------------------------------------------------------------
// USECASE: customization obj not exist
// ------------------------------------------------------------------------
console.log('use case 111111')
this.hideActionType(actionType);
return;
} else if(this.project.profile['customization'] && this.project.profile['customization'][categoryKey] === undefined){
// ------------------------------------------------------------------------
// USECASE: customization obj exist AND customization.[actionType] obj not exist
// ------------------------------------------------------------------------
console.log('use case 2222')
this.hideActionType(actionType);
return;
} else if(this.project.profile['customization'] && this.project.profile['customization'][categoryKey] !== undefined){
// ------------------------------------------------------------------------
// USECASE: customization obj AND customization.[actionType] obj exists
// ------------------------------------------------------------------------
console.log('use case 3333', this.project.profile['customization'][categoryKey])
if(this.project.profile['customization'][categoryKey]===false){
this.hideActionType(actionType);
return true
Expand Down

0 comments on commit 67941a0

Please sign in to comment.