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:
parent
d7db03897a
commit
76cf32d221
|
|
@ -88,6 +88,7 @@ import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
|
||||||
import { selectFeatureFlagCheck } from "@appsmith/selectors/featureFlagsSelectors";
|
import { selectFeatureFlagCheck } from "@appsmith/selectors/featureFlagsSelectors";
|
||||||
import AnalyticsUtil from "utils/AnalyticsUtil";
|
import AnalyticsUtil from "utils/AnalyticsUtil";
|
||||||
import { getDefaultEnvironmentId } from "@appsmith/selectors/environmentSelectors";
|
import { getDefaultEnvironmentId } from "@appsmith/selectors/environmentSelectors";
|
||||||
|
import { DEFAULT_ENV_ID } from "@appsmith/api/ApiUtils";
|
||||||
|
|
||||||
const ViewModeContainer = styled.div`
|
const ViewModeContainer = styled.div`
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -239,7 +240,7 @@ class DatasourceSaaSEditor extends JSONtoForm<Props, State> {
|
||||||
routesBlocked: false,
|
routesBlocked: false,
|
||||||
readUrlParams: false,
|
readUrlParams: false,
|
||||||
filterParams: {
|
filterParams: {
|
||||||
id: "",
|
id: DEFAULT_ENV_ID,
|
||||||
name: "",
|
name: "",
|
||||||
userPermissions: [],
|
userPermissions: [],
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user