There was an error while loading. Please reload this page.
2 parents 8c270f9 + 673336b commit 13c8f3cCopy full SHA for 13c8f3c
1 file changed
src/app/app-modules/core/components/app-header/app-header.component.ts
@@ -192,15 +192,13 @@ export class AppHeaderComponent implements OnInit {
192
}
193
logout() {
194
this.auth.logout().subscribe(res => {
195
- this.router
196
- .navigate(['/feedback'], { queryParams: { sl: 'MMU' } })
197
- .then(result => {
198
- if (result) {
199
- this.changeLanguage('English');
200
- // this.sessionstorage.clear();
201
- sessionStorage.clear();
202
- }
203
- });
+ this.router.navigate(['/login']).then(result => {
+ if (result) {
+ this.changeLanguage('English');
+ // this.sessionstorage.clear();
+ sessionStorage.clear();
+ }
+ });
204
});
205
206
rolenavigation() {
0 commit comments