Skip to content

Commit

Permalink
Merge branch 'features/feature-1/bug-fix-copy-and-paste' into master-…
Browse files Browse the repository at this point in the history
…PROD2
  • Loading branch information
dariodepa75 committed Jan 21, 2025
2 parents 2c18ee0 + ea06d44 commit ba42b1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/chatbot-design-studio/services/intent.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ export class IntentService {
/** create a new intent when drag an action on the stage */
public createNewIntent(id_faq_kb: string, action: any, pos:any){
let intent = new Intent();
intent.id_faq_kb = id_faq_kb;
// intent.id_faq_kb = id_faq_kb;
const chatbot_id = this.dashboardService.id_faq_kb;
intent.id_faq_kb = chatbot_id;
intent.attributes.position = pos;
intent.intent_display_name = this.setDisplayName();
// let actionIntent = this.createNewAction(TYPE_ACTION.INTENT);
Expand Down

0 comments on commit ba42b1b

Please sign in to comment.