mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 04:46:02 +00:00
SYNC: removed selectedCellsCallback
This commit is contained in:
committed by
Diflow
parent
1964e54476
commit
93c1f31588
@@ -103,13 +103,13 @@
|
||||
import ErrorInfo from '../elements/ErrorInfo.svelte';
|
||||
import { selectionCouldBeShownOnMap } from '../elements/SelectionMapView.svelte';
|
||||
import SelectField from '../forms/SelectField.svelte';
|
||||
import { selectedCellsCallback } from '../stores';
|
||||
import WidgetTitle from './WidgetTitle.svelte';
|
||||
import JsonExpandedCellView from '../celldata/JsonExpandedCellView.svelte';
|
||||
import XmlCellView from '../celldata/XmlCellView.svelte';
|
||||
import { _t } from '../translations';
|
||||
|
||||
export let onClose;
|
||||
export let selection;
|
||||
|
||||
let selectedFormatType = 'autodetect';
|
||||
|
||||
@@ -118,8 +118,6 @@
|
||||
|
||||
$: usedFormatType = selectedFormatType == 'autodetect' ? autodetectFormatType : selectedFormatType;
|
||||
$: usedFormat = formats.find(x => x.type == usedFormatType);
|
||||
|
||||
$: selection = $selectedCellsCallback ? $selectedCellsCallback() : [];
|
||||
</script>
|
||||
|
||||
<div class="wrapper">
|
||||
|
||||
Reference in New Issue
Block a user