diff --git a/src/discoverServices.js b/src/discoverServices.js index 0da05c8a9..6b3a2d6ad 100644 --- a/src/discoverServices.js +++ b/src/discoverServices.js @@ -297,7 +297,7 @@ export function discoveryReducer(state = {}, action) { for (const entry of action.data.permissionSets || []) { permissions[entry.permissionName] = entry.displayName; } - return { permissionDisplayNames: { ...state.permissionDisplayNames, ...permissions } }; + return { ...state, permissionDisplayNames: { ...state.permissionDisplayNames, ...permissions } }; } case 'DISCOVERY_PROVIDERS': { if (action.data.provides?.length > 0) {