diff --git a/.github/workflows/cypress-appbuilder.yml b/.github/workflows/cypress-appbuilder.yml
index 47c7bda175..bb1bc569c0 100644
--- a/.github/workflows/cypress-appbuilder.yml
+++ b/.github/workflows/cypress-appbuilder.yml
@@ -52,7 +52,7 @@ jobs:
run: |
git submodule update --init --recursive
git submodule foreach --recursive '
- git checkout ${{ env.BRANCH_NAME }} 2>/dev/null || git checkout modularisation/v3'
+ git checkout ${{ env.BRANCH_NAME }} 2>/dev/null || git checkout main'
- name: Set up Docker
diff --git a/.github/workflows/cypress-platform.yml b/.github/workflows/cypress-platform.yml
index 0d15c01f9c..112a10c199 100644
--- a/.github/workflows/cypress-platform.yml
+++ b/.github/workflows/cypress-platform.yml
@@ -50,7 +50,7 @@ jobs:
run: |
git submodule update --init --recursive
git submodule foreach --recursive '
- git checkout ${{ env.BRANCH_NAME }} 2>/dev/null || git checkout modularisation/v3'
+ git checkout ${{ env.BRANCH_NAME }} 2>/dev/null || git checkout main'
- name: Set up Docker
uses: docker-practice/actions-setup-docker@master
diff --git a/.gitmodules b/.gitmodules
index 428ef18262..f58077ac3f 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,8 +1,8 @@
[submodule "frontend/ee"]
path = frontend/ee
url = https://github.com/ToolJet/ee-frontend.git
- branch = modularisation/v3
+ branch = main
[submodule "server/ee"]
path = server/ee
url = https://github.com/ToolJet/ee-server.git
- branch = modularisation/v3
+ branch = main
diff --git a/docker/cloud/cloud-server.Dockerfile b/docker/cloud/cloud-server.Dockerfile
index a808506ffb..cc9fd4fce3 100644
--- a/docker/cloud/cloud-server.Dockerfile
+++ b/docker/cloud/cloud-server.Dockerfile
@@ -10,7 +10,7 @@ RUN mkdir -p /app
WORKDIR /app
ARG CUSTOM_GITHUB_TOKEN
-ARG BRANCH_NAME=modularisation/v3
+ARG BRANCH_NAME=main
# Clone and checkout the frontend repository
RUN git config --global url."https://x-access-token:${CUSTOM_GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
diff --git a/docker/ee/ee-production.Dockerfile b/docker/ee/ee-production.Dockerfile
index 31d6511be4..230a2f8ebb 100644
--- a/docker/ee/ee-production.Dockerfile
+++ b/docker/ee/ee-production.Dockerfile
@@ -11,7 +11,7 @@ WORKDIR /app
# Set GitHub token and branch as build arguments
ARG CUSTOM_GITHUB_TOKEN
-ARG BRANCH_NAME=modularisation/v3
+ARG BRANCH_NAME=main
# Clone and checkout the frontend repository
RUN git config --global url."https://x-access-token:${CUSTOM_GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
@@ -21,7 +21,7 @@ RUN git config --global http.postBuffer 524288000
RUN git clone https://github.com/ToolJet/ToolJet.git .
# The branch name needs to be changed the branch with modularisation in CE repo
-RUN git checkout modularisation/v3
+RUN git checkout main
RUN git submodule update --init --recursive
diff --git a/frontend/ee b/frontend/ee
index 6da03a83bd..d93ee7e131 160000
--- a/frontend/ee
+++ b/frontend/ee
@@ -1 +1 @@
-Subproject commit 6da03a83bd7a804f102b143351e59cc518898411
+Subproject commit d93ee7e1318f044ef2327671b8b257648071453d
diff --git a/frontend/src/AppBuilder/CodeEditor/TJDBHinter.jsx b/frontend/src/AppBuilder/CodeEditor/TJDBHinter.jsx
index 625b11dedd..dab57d0f20 100644
--- a/frontend/src/AppBuilder/CodeEditor/TJDBHinter.jsx
+++ b/frontend/src/AppBuilder/CodeEditor/TJDBHinter.jsx
@@ -56,8 +56,8 @@ const TJDBCodeEditor = (props) => {
const handleOnChange = (value) => {
if (value === '') {
- setErrorState(true);
- setError('JSON cannot be empty');
+ setErrorState(false);
+ setError(null);
setCurrentValue(value);
return;
}
@@ -150,7 +150,7 @@ const TJDBCodeEditor = (props) => {
className="cm-codehinter position-relative"
style={{
width: '100%',
- height: isOpen ? '350px' : 'auto',
+ height: isOpen ? '350p' : 'auto',
}}
>
@@ -178,7 +178,7 @@ const TJDBCodeEditor = (props) => {
{' '}
- {source.name}
+ {defaultSources[cleanWord(source.name)].name}
),
@@ -178,6 +178,10 @@ function DataSourceSelect({ isDisabled, selectRef, closePopup, workflowDataSourc
}
};
+ function cleanWord(word) {
+ return word.replace(/default/g, '');
+ }
+
return (