diff --git a/bc_obps/common/fixtures/dashboard/administration/external.json b/bc_obps/common/fixtures/dashboard/administration/external.json index aeac5e0c0e..ed8d400320 100644 --- a/bc_obps/common/fixtures/dashboard/administration/external.json +++ b/bc_obps/common/fixtures/dashboard/administration/external.json @@ -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", @@ -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 + } } ] } diff --git a/bc_obps/common/fixtures/dashboard/bciers/external.json b/bc_obps/common/fixtures/dashboard/bciers/external.json index 2f87783bfd..7b86a68e46 100644 --- a/bc_obps/common/fixtures/dashboard/bciers/external.json +++ b/bc_obps/common/fixtures/dashboard/bciers/external.json @@ -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", @@ -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 + } } ] },