fix merge regression

This commit is contained in:
Keviin Åberg Kultalahti 2021-03-31 13:48:30 +02:00
parent c729b8654b
commit dc0f04c43a
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,8 @@
async function deleteDatasource() { async function deleteDatasource() {
const wasSelectedSource = $datasources.selected const wasSelectedSource = $datasources.selected
console.log(wasSelectedSource)
console.log(datasource)
await datasources.delete(datasource) await datasources.delete(datasource)
notifier.success("Datasource deleted") notifier.success("Datasource deleted")
// navigate to first index page if the source you are deleting is selected // navigate to first index page if the source you are deleting is selected

View File

@ -11,7 +11,6 @@ export function createViewsStore() {
return { return {
subscribe, subscribe,
select: view => { select: view => {
console.log(view)
update(state => ({ update(state => ({
...state, ...state,
selected: view, selected: view,