add blocking state to make dealing with log in errors more user friendly

This commit is contained in:
Art Lowel
2020-09-01 10:10:39 +02:00
parent 61e0b9efb0
commit 724e5d1f12
13 changed files with 253 additions and 61 deletions

View File

@@ -34,6 +34,7 @@ describe('UserMenuComponent', () => {
authState = {
authenticated: true,
loaded: true,
blocking: false,
loading: false,
authToken: new AuthTokenInfo('test_token'),
userId: EPersonMock.id
@@ -41,6 +42,7 @@ describe('UserMenuComponent', () => {
authStateLoading = {
authenticated: true,
loaded: true,
blocking: false,
loading: true,
authToken: null,
userId: EPersonMock.id