Skip to content

Commit

Permalink
Bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Lanzilotto committed Mar 22, 2024
1 parent 0ac8439 commit c2af536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/utils/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export function goToCDSVersion(router: any, chatbot: Chatbot, project_id, redire
let dateLimit = new Date('2023-10-02T00:00:00')
if(chatBotDate > dateLimit){
// let urlCDS_v2 = `${redirectBaseUrl}dashboard/#/project/${project_id}/cds/${chatbot._id}/intent/0`
let urlCDS_v2 = `${redirectBaseUrl}#/project/${project_id}/chatbot/${chatbot._id}/block` // /intent/0
let urlCDS_v2 = `${redirectBaseUrl}#/project/${project_id}/chatbot/${chatbot._id}/blocks` // /intent/0
window.open(urlCDS_v2, '_self')
} else {
router.navigate(['project/' + project_id + '/cds/',chatbot._id, 'intent', '0']);
Expand Down

0 comments on commit c2af536

Please sign in to comment.