fix merge regression
This commit is contained in:
parent
c729b8654b
commit
dc0f04c43a
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue