tidy up imports

This commit is contained in:
Martin McKeaveney 2021-06-16 23:39:14 +01:00
parent 2737949602
commit a79ae5f4ef
5 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<script> <script>
import { goto } from "@roxi/routify" import { goto } from "@roxi/routify"
import { entities, tables, views, database } from "stores/backend" import { tables, views, database } from "stores/backend"
import { TableNames } from "constants" import { TableNames } from "constants"
import EditTablePopover from "./popovers/EditTablePopover.svelte" import EditTablePopover from "./popovers/EditTablePopover.svelte"
import EditViewPopover from "./popovers/EditViewPopover.svelte" import EditViewPopover from "./popovers/EditViewPopover.svelte"

View File

@ -1,6 +1,6 @@
<script> <script>
import { params } from "@roxi/routify" import { params } from "@roxi/routify"
import { database, queries, entities } from "stores/backend" import { database, queries } from "stores/backend"
import QueryInterface from "components/integration/QueryViewer.svelte" import QueryInterface from "components/integration/QueryViewer.svelte"
$: selectedQuery = $queries.list.find( $: selectedQuery = $queries.list.find(

View File

@ -1,6 +1,6 @@
<script> <script>
import { params } from "@roxi/routify" import { params } from "@roxi/routify"
import { datasources, entities } from "stores/backend" import { datasources } from "stores/backend"
if ($params.selectedDatasource) { if ($params.selectedDatasource) {
const datasource = $datasources.list.find( const datasource = $datasources.list.find(

View File

@ -3,7 +3,6 @@
import { Button, Heading, Body, Divider, Layout } from "@budibase/bbui" import { Button, Heading, Body, Divider, Layout } from "@budibase/bbui"
import { import {
datasources, datasources,
entities,
integrations, integrations,
queries, queries,
tables, tables,

View File

@ -1,5 +1,5 @@
<script> <script>
import { tables, entities } from "stores/backend" import { tables } from "stores/backend"
import { goto, leftover } from "@roxi/routify" import { goto, leftover } from "@roxi/routify"
import { onMount } from "svelte" import { onMount } from "svelte"