mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 08:46:00 +00:00
map fixes
This commit is contained in:
@@ -1,8 +1,19 @@
|
||||
<script lang="ts">
|
||||
import MapView from '../elements/MapView.svelte';
|
||||
|
||||
export let selection;
|
||||
|
||||
</script>
|
||||
import MapView from '../elements/MapView.svelte';
|
||||
|
||||
import useEditorData from '../query/useEditorData';
|
||||
|
||||
export let tabid;
|
||||
let selection;
|
||||
|
||||
useEditorData({
|
||||
tabid,
|
||||
onInitialData: value => {
|
||||
selection = value;
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
{#if selection}
|
||||
<MapView {selection} />
|
||||
<MapView {selection} />
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user