Skip to content

Commit

Permalink
fix: settingsConfig logging to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
AmanAgarwal041 committed Nov 29, 2024
1 parent f92b5a1 commit 233ffbe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/client/src/pages/Editor/APIEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ function ApiEditorWrapper(props: ApiEditorWrapperProps) {
const settingsConfig = useSelector((state) =>
getPluginSettingConfigs(state, pluginId),
);
const settingsConfigAll = useSelector(
(state) => state.entities.plugins.settingConfigs,
);
const pagePermissions = useSelector(getPagePermissions);
const isFeatureEnabled = useFeatureFlag(FEATURE_FLAG.license_gac_enabled);
const isConverting = useSelector((state) =>
Expand Down Expand Up @@ -167,7 +170,7 @@ function ApiEditorWrapper(props: ApiEditorWrapperProps) {
if (typeof window.Cypress?.log === "function") {
/* @ts-expect-error: Types are not available */
window.Cypress.log({
message: `ApiEditorWrapper, ${JSON.stringify(settingsConfig || {})} ${JSON.stringify(plugins)} ${pluginId}`,
message: `ApiEditorWrapper, ${JSON.stringify(settingsConfigAll || {})} ${JSON.stringify(plugins)} ${pluginId}`,
});
}

Expand Down

0 comments on commit 233ffbe

Please sign in to comment.