From 33d03c3d58eaaa307093d384a6a304755df65170 Mon Sep 17 00:00:00 2001 From: Francisco Salas Date: Wed, 3 Feb 2021 09:02:58 +0100 Subject: [PATCH 1/2] add searchable field to user --- projects/common/src/fm/models/user.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/common/src/fm/models/user.ts b/projects/common/src/fm/models/user.ts index e7c8144..a0832a4 100644 --- a/projects/common/src/fm/models/user.ts +++ b/projects/common/src/fm/models/user.ts @@ -13,4 +13,5 @@ export interface IUser { mobile?: string; organisation?: string; cocNumber?: string; + searchable: boolean; } \ No newline at end of file From da562ca96d218f2e48ca655d1ba75dfbc34598bc Mon Sep 17 00:00:00 2001 From: Francisco Salas Date: Wed, 3 Feb 2021 09:13:08 +0100 Subject: [PATCH 2/2] fix --- projects/common/src/fm/reducers/app-common.reducer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/common/src/fm/reducers/app-common.reducer.ts b/projects/common/src/fm/reducers/app-common.reducer.ts index 454150c..b554b5c 100644 --- a/projects/common/src/fm/reducers/app-common.reducer.ts +++ b/projects/common/src/fm/reducers/app-common.reducer.ts @@ -58,7 +58,8 @@ export function reducer(state = initialState, action: appCommonActions.Actions ) code:a.user.code, email:a.userinfo["email"], name:a.userinfo["name"], - claims:claims + claims:claims, + searchable: false }; return tassign(state, { user: user }); }