From 9420ee2b5ef53cb24d220f84af11fa0e10aa2741 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 16 Nov 2021 17:52:14 +0000 Subject: [PATCH] Remove log statements --- packages/client/src/components/Component.svelte | 1 - packages/client/src/components/app/DataProvider.svelte | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/components/Component.svelte b/packages/client/src/components/Component.svelte index d0029f5b17..57fbc10d93 100644 --- a/packages/client/src/components/Component.svelte +++ b/packages/client/src/components/Component.svelte @@ -263,7 +263,6 @@ } else { Object.keys(allSettings).forEach(key => { if (!propsAreSame(allSettings[key], cachedSettings[key])) { - console.log("new '" + key + "' setting for '" + id + "'") cachedSettings[key] = allSettings[key] } }) diff --git a/packages/client/src/components/app/DataProvider.svelte b/packages/client/src/components/app/DataProvider.svelte index 61f985bce9..cec582e718 100644 --- a/packages/client/src/components/app/DataProvider.svelte +++ b/packages/client/src/components/app/DataProvider.svelte @@ -39,6 +39,8 @@ // Sorting can be overridden at run time, so we can't use the prop directly let currentSortColumn = sortColumn let currentSortOrder = sortOrder + + // Reset the current sort state to props if props change $: currentSortColumn = sortColumn $: currentSortOrder = sortOrder @@ -172,7 +174,6 @@ const sort = schema?.[sortColumn] ? sortColumn : undefined // For internal tables we use server-side processing - console.log("SEARCH!") const res = await API.searchTable({ tableId: dataSource.tableId, query,