query rewrite
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
import Table from "./Table.svelte";
|
||||
import {getContext} from "svelte";
|
||||
import Grid from "./Grid.svelte";
|
||||
import Tools from "./tools/Tools.svelte";
|
||||
|
||||
const axios = getContext("axios");
|
||||
export let schema;
|
||||
@@ -53,20 +54,19 @@
|
||||
{#if selected.length > 0 && !inModal && isWritable}
|
||||
<ActionsOnSelected {schema} {selected} {filter}/>
|
||||
{:else}
|
||||
<!-- <Tools-->
|
||||
<!-- bind:schema-->
|
||||
<!-- bind:records-->
|
||||
<!-- {systemFields}-->
|
||||
<!-- {sortParam}-->
|
||||
<!-- {sortField}-->
|
||||
<!-- {operators}-->
|
||||
<!-- {filter}-->
|
||||
<!-- {graph}-->
|
||||
<!-- {inModal}-->
|
||||
<!-- {modalUrl}-->
|
||||
<!-- {isWritable}-->
|
||||
<!-- on:refresh={refresh}-->
|
||||
<!-- />-->
|
||||
<Tools
|
||||
bind:schema
|
||||
bind:records
|
||||
{systemFields}
|
||||
{sortParam}
|
||||
{sortField}
|
||||
{operators}
|
||||
{filter}
|
||||
{inModal}
|
||||
{modalUrl}
|
||||
{isWritable}
|
||||
on:refresh={refresh}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
{#if schema.type === "collection"}
|
||||
|
||||
Reference in New Issue
Block a user