chore: update default ID for saas forms (#27293)

Fixes a CE only issue which sets the env ID for SAAS forms. Affects the
usage of google sheets in CE.
This commit is contained in:
Ayush Pahwa 2023-09-14 15:40:42 +07:00 committed by Ayush Pahwa
parent d7db03897a
commit 76cf32d221

View File

@ -88,6 +88,7 @@ import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
import { selectFeatureFlagCheck } from "@appsmith/selectors/featureFlagsSelectors";
import AnalyticsUtil from "utils/AnalyticsUtil";
import { getDefaultEnvironmentId } from "@appsmith/selectors/environmentSelectors";
import { DEFAULT_ENV_ID } from "@appsmith/api/ApiUtils";
const ViewModeContainer = styled.div`
display: flex;
@ -239,7 +240,7 @@ class DatasourceSaaSEditor extends JSONtoForm<Props, State> {
routesBlocked: false,
readUrlParams: false,
filterParams: {
id: "",
id: DEFAULT_ENV_ID,
name: "",
userPermissions: [],
},