Add missing redirect from privilege screen to the main screen
This commit is contained in:
@@ -32,6 +32,15 @@ export class PrivilegeCheckerComponent {
|
|||||||
router.navigate(['/detection']);
|
router.navigate(['/detection']);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
uhkDevice.isInitialized()
|
||||||
|
.distinctUntilChanged()
|
||||||
|
.takeWhile(initialized => !initialized)
|
||||||
|
.ignoreElements()
|
||||||
|
.subscribe({
|
||||||
|
complete: () => {
|
||||||
|
router.navigate(['/']);
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
setUpPermissions(): void {
|
setUpPermissions(): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user