bug fixed
This commit is contained in:
parent
a52770c16e
commit
a3f6c4a588
|
@ -12,7 +12,7 @@ import { LogService } from '@ucap/ng-logger';
|
|||
|
||||
import { AppSelector } from '@app/store/state';
|
||||
|
||||
const NAVS = ['group', 'chat', 'organization', 'message'];
|
||||
const NAVS = ['group/', 'chat/', 'organization/', 'message/'];
|
||||
|
||||
@Component({
|
||||
selector: 'app-layouts-default',
|
||||
|
@ -57,7 +57,10 @@ export class DefaultLayoutComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
|
||||
onSelectedTabChange(event: MatTabChangeEvent) {
|
||||
this.router.navigate([{ outlets: { primary: NAVS[event.index] } }]);
|
||||
this.router.navigate([
|
||||
NAVS[event.index],
|
||||
{ outlets: { content: 'index' } }
|
||||
]);
|
||||
}
|
||||
|
||||
onClickToggleLeftSidenav() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user