Merge branch 'feature/digital-workspace' into feature/digital-workspace-1

This commit is contained in:
Eudes Inácio
2022-09-26 22:20:43 +01:00
4 changed files with 16 additions and 8 deletions
+11 -3
View File
@@ -144,8 +144,16 @@ export class ChatPage implements OnInit {
let t = this.showDateDuration(new Date());
this.router.events.forEach((event) => {
if (event instanceof NavigationStart && event.url.startsWith('/home/chat')) {
if (this.dataService.get("newGroup")) {
this.openNewGroupPage();
}
else{
this.closeAllDesktopComponents();
this.showEmptyComponent = true;
}
/* this.router.events.forEach((event) => {
if (event instanceof NavigationStart || event.url.endsWith('/home/chat')) {
if (this.dataService.get("newGroup")) {
this.openNewGroupPage();
}
@@ -157,7 +165,7 @@ export class ChatPage implements OnInit {
else{
this.dataService.set("newGroup", false);
}
});
}); */
}
numSequence(n: number): Array<number> {