Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #117 from corona-warn-app/chore/revert-changes-for…
Browse files Browse the repository at this point in the history
…-testing-only

Chore: revert "testing-only" changes
  • Loading branch information
mlenkeit authored Sep 26, 2022
2 parents 08070b1 + 66186b0 commit 3da0a75
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 150 deletions.
19 changes: 13 additions & 6 deletions lib/ccl/functions/__analyzeDccWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -1829,21 +1829,28 @@ const descriptor = {
},

// mask state

{
declare: [
'maskStateScenarioIdentifier',
'OTHER'
]
},
{
declare: [
'maskState',
{
if: [
{
in: [
{ var: 'scenarioIdentifier' },
{ var: 'maskStateScenarioIdentifier' },
['NO_SELECTION', 'NO_MANDATE']
]
},
{ var: 'scenarioIdentifier' },
{ var: 'maskStateScenarioIdentifier' },
{
'===': [
{ var: 'scenarioIdentifier' },
{ var: 'maskStateScenarioIdentifier' },
'EXTENDED'
]
},
Expand Down Expand Up @@ -1890,9 +1897,9 @@ const descriptor = {
},
// basic
{
in: [
{ var: 'scenarioIdentifier' },
[...constants.FEDERAL_STATE_IDS, 'DE', 'BASIC']
'===': [
{ var: 'maskStateScenarioIdentifier' },
'BASIC'
]
},
{
Expand Down
Loading

0 comments on commit 3da0a75

Please sign in to comment.