From 857122f99e22df8caa5d3fd62fdfd7b3728cfb6d Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 4 Sep 2024 09:32:14 +0100 Subject: [PATCH] Remove unnecessary API calls when showing or hiding columns --- .../DataTable/buttons/grid/ColumnsSettingContent.svelte | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/builder/src/components/backend/DataTable/buttons/grid/ColumnsSettingContent.svelte b/packages/builder/src/components/backend/DataTable/buttons/grid/ColumnsSettingContent.svelte index 0bdba160cb..4787c8bcce 100644 --- a/packages/builder/src/components/backend/DataTable/buttons/grid/ColumnsSettingContent.svelte +++ b/packages/builder/src/components/backend/DataTable/buttons/grid/ColumnsSettingContent.svelte @@ -160,9 +160,6 @@ await datasource.actions.saveSchemaMutations() } catch (e) { notifications.error(e.message) - } finally { - await datasource.actions.resetSchemaMutations() - await datasource.actions.refreshDefinition() } dispatch(visible ? "show-column" : "hide-column") }