diff --git a/package-lock.json b/package-lock.json index f330870486..bdb86d580f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "graph-explorer-v2", - "version": "9.5.0", + "version": "9.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "graph-explorer-v2", - "version": "9.5.0", + "version": "9.6.0", "dependencies": { "@augloop/types-core": "file:packages/types-core-2.16.189.tgz", "@axe-core/webdriverjs": "4.8.4", diff --git a/package.json b/package.json index ee21dad626..7bf96399b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graph-explorer-v2", - "version": "9.5.0", + "version": "9.6.0", "private": true, "dependencies": { "@augloop/types-core": "file:packages/types-core-2.16.189.tgz", diff --git a/src/app/services/reducers/permissions-reducer.spec.ts b/src/app/services/reducers/permissions-reducer.spec.ts index 329ea71c50..4f8cf90b2c 100644 --- a/src/app/services/reducers/permissions-reducer.spec.ts +++ b/src/app/services/reducers/permissions-reducer.spec.ts @@ -72,8 +72,9 @@ describe('Permissions reducer', () => { const expectedState = { pending: { isSpecificPermissions: false, isFullPermissions: false }, data: { + specificPermissions: [], fullPermissions: [], - specificPermissions: [] + tenantWidePermissionsGrant: [] }, error: 'error' } diff --git a/src/app/services/reducers/permissions-reducer.ts b/src/app/services/reducers/permissions-reducer.ts index 9bbb1e56c3..80c6fc88a6 100644 --- a/src/app/services/reducers/permissions-reducer.ts +++ b/src/app/services/reducers/permissions-reducer.ts @@ -43,7 +43,7 @@ export function scopes(state: IScopes = initialState, action: AppAction): any { return { pending: { isFullPermissions: false, isSpecificPermissions: false }, error: action.response, - data: state.data + data: initialState.data }; case FETCH_URL_SCOPES_PENDING: return {