File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import {AboutComponent} from './about/about.component';
5
5
import { PageNotFoundComponent } from './page-not-found/page-not-found.component' ;
6
6
import { CanLoadAuthGuard } from './services/can-load-auth.guard' ;
7
7
import { CustomPreloadingStrategy } from './services/custom-preloading.strategy' ;
8
+ import { ChatComponent } from './chat/chat.component' ;
8
9
9
10
10
11
const routes : Routes = [
@@ -30,6 +31,11 @@ const routes: Routes = [
30
31
path : "about" ,
31
32
component : AboutComponent
32
33
} ,
34
+ {
35
+ path : 'helpdesk-chat' ,
36
+ component : ChatComponent ,
37
+ outlet : 'chat'
38
+ } ,
33
39
{
34
40
path : "**" ,
35
41
component : PageNotFoundComponent
Original file line number Diff line number Diff line change 24
24
25
25
</ div >
26
26
27
- < a mat-button class ="menu-item " *ngIf ="auth.isLoggedIn$ | async ">
27
+ < a mat-button class ="menu-item " *ngIf ="auth.isLoggedIn$ | async "
28
+ [routerLink] ="[{outlets: {chat: ['helpdesk-chat']}}] ">
28
29
< mat-icon > help</ mat-icon >
29
30
</ a >
30
31
54
55
55
56
</ mat-sidenav-container >
56
57
58
+ < router-outlet name ="chat "> </ router-outlet >
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
Original file line number Diff line number Diff line change 2
2
3
3
.chat-container {
4
4
position : fixed;
5
- bottom : 10 px ;
5
+ bottom : 70 px ;
6
6
right : 10px ;
7
7
height : 300px ;
8
8
width : 500px ;
You can’t perform that action at this time.
0 commit comments