Skip to content

Commit

Permalink
step2
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Oct 5, 2023
1 parent d0ad1f7 commit d0aeb6e
Show file tree
Hide file tree
Showing 114 changed files with 1,560 additions and 2,955 deletions.
888 changes: 51 additions & 837 deletions package-lock.json

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,28 @@
"private": true,
"dependencies": {
"@angular/animations": "^14.2.0",
"@angular/cdk": "^16.2.5",
"@angular/cdk": "^14.2.5",
"@angular/common": "^14.2.0",
"@angular/compiler": "^14.2.0",
"@angular/core": "^14.2.0",
"@angular/forms": "^14.2.0",
"@angular/material": "^16.2.5",
"@angular/material": "^14.2.5",
"@angular/platform-browser": "^14.2.0",
"@angular/platform-browser-dynamic": "^14.2.0",
"@angular/router": "^14.2.0",
"@ctrl/ngx-emoji-mart": "^9.2.0",
"@ctrl/ngx-emoji-mart": "^7.1.0",
"@ncstate/sat-popover": "^10.3.2",
"@ng-select/ng-select": "^11.1.1",
"@ngx-translate/core": "^15.0.0",
"@ngx-translate/http-loader": "^8.0.0",
"@ng-select/ng-select": "^9.0.2",
"@ngx-translate/core": "^14.0.0",
"@ngx-translate/http-loader": "^7.0.0",
"firebase": "^7.24.0",
"material-icons": "^1.13.11",
"moment": "^2.29.4",
"ngx-logger": "^5.0.12",
"ngx-moment": "^6.0.2",
"roboto-fontface": "^0.10.0",
"rxjs": "~7.5.0",
"sweetalert": "^2.1.2",
"tslib": "^2.6.2",
"uuid": "^9.0.1",
"zone.js": "~0.11.4"
Expand Down
10 changes: 7 additions & 3 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { CdsDashboardComponent } from './chatbot-design-studio/cds-dashboard/cds-dashboard.component';
import { AuthGuard } from './guards/auth.guard';
import { AppComponent } from './app.component';

const routes: Routes = [
// -----------------------------------------
// NEW replace the path ...createfaq and ...editfaq
// -----------------------------------------

{ path: '', redirectTo: 'project/:projectid/cds/:faqkbid', pathMatch: 'full' },
{ path: '', redirectTo: 'home', pathMatch: 'full' },
// { path: 'project/', component: CdsDashboardComponent, canActivate:[AuthGuard] },
{ path: 'home', component: AppComponent },

{ path: 'project/:projectid/cds/:faqkbid', component: CdsDashboardComponent },
{ path: 'project/:projectid/cds/:faqkbid/intent/:intent_id', component: CdsDashboardComponent },
{ path: 'project/:projectid/cds/:faqkbid', component: CdsDashboardComponent, canActivate:[AuthGuard] },
{ path: 'project/:projectid/cds/:faqkbid/intent/:intent_id', component: CdsDashboardComponent, canActivate:[AuthGuard] },

];

Expand Down
Loading

0 comments on commit d0aeb6e

Please sign in to comment.