diff --git a/src/app/chat/chat.component.html b/src/app/chat/chat.component.html index c7edf8f..8001661 100644 --- a/src/app/chat/chat.component.html +++ b/src/app/chat/chat.component.html @@ -1,9 +1,9 @@ - Messages + COMING SOON! - Channels + COMING SOON! diff --git a/src/app/chat/chat.component.ts b/src/app/chat/chat.component.ts index 71e4bee..a32441d 100644 --- a/src/app/chat/chat.component.ts +++ b/src/app/chat/chat.component.ts @@ -1,18 +1,16 @@ import { Component, ChangeDetectorRef } from '@angular/core'; +import { ApplicationState } from '../services/applicationstate.service'; @Component({ selector: 'app-chat', templateUrl: './chat.component.html', styleUrls: ['./chat.component.css'], }) export class ChatComponent { - - constructor( - ) {} - + constructor(private appState: ApplicationState) {} async ngOnInit() { - + this.appState.title = 'Chat'; + this.appState.goBack = true; + this.appState.actions = []; } - - } diff --git a/src/app/notes/notes.component.ts b/src/app/notes/notes.component.ts index 8c11e62..0e20126 100644 --- a/src/app/notes/notes.component.ts +++ b/src/app/notes/notes.component.ts @@ -31,6 +31,8 @@ export class NotesComponent { ngOnInit() { this.appState.title = 'Saved Notes'; + this.appState.goBack = true; + this.appState.actions = []; this.notesSub = this.notesService.notesChanged$.subscribe(async () => { console.log('RELOADING NOTES!!!');