From 0399e15ef007f7d50b03bf1535c12c8db53bda3d Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 21 Jun 2021 11:10:46 +0100 Subject: [PATCH] refetch rows when row created --- packages/builder/src/stores/backend/rows.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/stores/backend/rows.js b/packages/builder/src/stores/backend/rows.js index e3872d5873..2c858c9883 100644 --- a/packages/builder/src/stores/backend/rows.js +++ b/packages/builder/src/stores/backend/rows.js @@ -1,13 +1,13 @@ import { writable, get } from "svelte/store" -import { views } from "./" +import { tables } from "./" export function createRowsStore() { const { subscribe } = writable([]) return { subscribe, - save: () => views.select(get(views).selected), - delete: () => views.select(get(views).selected), + save: () => tables.select(get(tables).selected), + delete: () => tables.select(get(tables).selected), } }