MOBILE-2768 policy: Fix archived policy displayed after login
parent
5215ff91e5
commit
f184f69def
|
@ -102,6 +102,10 @@ export class CorePolicyService {
|
|||
|
||||
for (const i in policies) {
|
||||
const policy = policies[i];
|
||||
if (policy.status !== CorePolicyStatus.Active) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const hasAccepted = policy.acceptance?.status === 1;
|
||||
const hasDeclined = policy.acceptance?.status === 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue