From 5681f47a3839c56016b49f995d020e816dc535ef Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 23 May 2023 11:00:55 +0200 Subject: [PATCH] Clean schema error messages while changing datasources --- packages/builder/src/stores/backend/datasources.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/builder/src/stores/backend/datasources.js b/packages/builder/src/stores/backend/datasources.js index ed84bb8ee9..576b4d8b76 100644 --- a/packages/builder/src/stores/backend/datasources.js +++ b/packages/builder/src/stores/backend/datasources.js @@ -25,6 +25,8 @@ export function createDatasourcesStore() { store.update(state => ({ ...state, selectedDatasourceId: id, + // Remove any possible schema error + schemaError: null, })) }