From 3bcc8b0858a090087e2c66279387db05d9c669b5 Mon Sep 17 00:00:00 2001 From: Jacques Ikot Date: Wed, 28 May 2025 12:59:32 +0100 Subject: [PATCH] fix: add missing displayName and slug to organization reducer (#40779) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Fixes a bug where the organization's `displayName` and `slug` fields were not being properly stored in the Redux state when fetching the current organization configuration. ## Changes - Added `displayName` and `slug` fields to the `FETCH_CURRENT_ORGANIZATION_CONFIG_SUCCESS` reducer handler - These fields were already defined in the `OrganizationReduxState` interface but were missing from the actual state update ## Automation /ok-to-test tags="@tag.Sanity" ### :mag: Cypress test results > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: > Commit: cca1886b0d8dd24a9193dab5a0a5a7a3c004cda2 > Cypress dashboard. > Tags: `@tag.Sanity` > Spec: >
Tue, 27 May 2025 22:31:26 UTC ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No ## Summary by CodeRabbit - **New Features** - Organization details now display additional information, including display name and slug, when viewing organization configuration. --- app/client/src/ce/reducers/organizationReducer.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/client/src/ce/reducers/organizationReducer.ts b/app/client/src/ce/reducers/organizationReducer.ts index f43fb23923..4d52873023 100644 --- a/app/client/src/ce/reducers/organizationReducer.ts +++ b/app/client/src/ce/reducers/organizationReducer.ts @@ -74,6 +74,8 @@ export const handlers = { ...action.payload.organizationConfiguration.brandColors, }, }, + displayName: action.payload.displayName, + slug: action.payload.slug, isLoading: false, instanceId: action.payload.instanceId, tenantId: action.payload.tenantId,