MCPcopy Create free account
hub / github.com/OpenCBS/OpenCBS-Cloud / ngAfterContentChecked

Method ngAfterContentChecked

client/src/app/app.component.ts:66–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 }
65
66 ngAfterContentChecked() {
67 this.appReadyService.trigger();
68
69 if ( window.location.hash && window.location.hash !== '#/login'
70 && window.event && window.event.type && window.event.type === 'error' ) {
71 this.logout();
72 }
73 }
74
75 logout() {
76 this.authStore$.dispatch(new fromStore.PurgeAuth());

Callers

nothing calls this directly

Calls 2

logoutMethod · 0.95
triggerMethod · 0.80

Tested by

no test coverage detected