Skip to content

Commit

Permalink
Merge pull request #2200 from bcgov/2189-dashboard-operations-tile
Browse files Browse the repository at this point in the history
2189 dashboard operations tile
  • Loading branch information
marcellmueller committed Sep 19, 2024
2 parents ecb64f0 + 5f3e5de commit 479d0a5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
16 changes: 14 additions & 2 deletions bc_obps/common/fixtures/dashboard/administration/external.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@
"title": "Operations",
"icon": "Layers",
"content": "View the operations owned by your operator, or to add and register new operation to your operator here.",
"href": "/administration/operations"
"href": "/administration/operations",
"condition": {
"api": "registration/v2/user-operators/current/operator",
"field": "error",
"operator": "notExists",
"value": true
}
},
{
"title": "Contacts",
Expand All @@ -53,7 +59,13 @@
"title": "Users and Access Requests",
"icon": "Users",
"content": "View, approve or decline Business BCeID user access requests to your operator, or to assign access type to users here.",
"href": "/administration/tbd"
"href": "/administration/tbd",
"condition": {
"api": "registration/v2/user-operators/current/operator",
"field": "error",
"operator": "notExists",
"value": true
}
}
]
}
Expand Down
16 changes: 14 additions & 2 deletions bc_obps/common/fixtures/dashboard/bciers/external.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@
},
{
"title": "Operations",
"href": "/administration/operations"
"href": "/administration/operations",
"condition": {
"api": "registration/v2/user-operators/current/operator",
"field": "error",
"operator": "notExists",
"value": true
}
},
{
"title": "Contacts",
Expand All @@ -49,7 +55,13 @@
},
{
"title": "Users and Access Requests",
"href": "/administration/tbd"
"href": "/administration/tbd",
"condition": {
"api": "registration/v2/user-operators/current/operator",
"field": "error",
"operator": "notExists",
"value": true
}
}
]
},
Expand Down

0 comments on commit 479d0a5

Please sign in to comment.