diff --git a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte index fe3998e137..9cf85cae98 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte @@ -23,6 +23,8 @@ async function deleteDatasource() { const wasSelectedSource = $datasources.selected + console.log(wasSelectedSource) + console.log(datasource) await datasources.delete(datasource) notifier.success("Datasource deleted") // navigate to first index page if the source you are deleting is selected diff --git a/packages/builder/src/stores/backend/views.js b/packages/builder/src/stores/backend/views.js index f3891c22aa..5cd3c60267 100644 --- a/packages/builder/src/stores/backend/views.js +++ b/packages/builder/src/stores/backend/views.js @@ -11,7 +11,6 @@ export function createViewsStore() { return { subscribe, select: view => { - console.log(view) update(state => ({ ...state, selected: view,