view fixes
This commit is contained in:
parent
b2761fcd51
commit
81bc8432a7
|
@ -42,8 +42,10 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Table title={decodeURI(view.name)} schema={view.schema} {data}>
|
<Table title={decodeURI(name)} schema={view.schema} {data}>
|
||||||
<FilterPopover {view} />
|
<FilterPopover {view} />
|
||||||
<CalculationPopover {view} />
|
<CalculationPopover {view} />
|
||||||
<GroupByPopover {view} />
|
{#if view.calculation}
|
||||||
|
<GroupByPopover {view} />
|
||||||
|
{/if}
|
||||||
</Table>
|
</Table>
|
||||||
|
|
|
@ -53,8 +53,8 @@
|
||||||
|
|
||||||
let anchor
|
let anchor
|
||||||
let dropdown
|
let dropdown
|
||||||
let filters = view.filters || []
|
|
||||||
|
|
||||||
|
$: filters = view.filters || []
|
||||||
$: viewModel = $backendUiStore.models.find(
|
$: viewModel = $backendUiStore.models.find(
|
||||||
({ _id }) => _id === $backendUiStore.selectedView.modelId
|
({ _id }) => _id === $backendUiStore.selectedView.modelId
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue