mirror of
https://github.com/block-core/blockcore-notes.git
synced 2024-09-29 06:20:42 +00:00
Fix action links for pages
This commit is contained in:
parent
b2a17a5387
commit
c70507a8aa
@ -1,9 +1,9 @@
|
||||
<mat-tab-group mat-align-tabs="center">
|
||||
<mat-tab label="Messages">
|
||||
Messages
|
||||
COMING SOON!
|
||||
</mat-tab>
|
||||
<mat-tab label="Channels">
|
||||
Channels
|
||||
COMING SOON!
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
|
||||
|
@ -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 = [];
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -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!!!');
|
||||
|
Loading…
Reference in New Issue
Block a user