mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 11:52:38 +02:00
chore: import TableEditor directly from layer
This commit is contained in:
parent
daa6e37073
commit
222e69fbf4
2 changed files with 2 additions and 3 deletions
|
@ -19,6 +19,7 @@ import {
|
|||
import { translate } from '../i18n.js'
|
||||
import { DataLayerPermissions } from '../permissions.js'
|
||||
import { Point, LineString, Polygon } from './features.js'
|
||||
import TableEditor from '../tableeditor.js'
|
||||
|
||||
export const LAYER_TYPES = [DefaultLayer, Cluster, Heat, Choropleth, Categorized]
|
||||
|
||||
|
@ -1090,7 +1091,7 @@ export class DataLayer {
|
|||
|
||||
tableEdit() {
|
||||
if (!this.isVisible()) return
|
||||
const editor = new U.TableEditor(this)
|
||||
const editor = new TableEditor(this)
|
||||
editor.open()
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ import Slideshow from './slideshow.js'
|
|||
import { SyncEngine } from './sync/engine.js'
|
||||
import Dialog from './ui/dialog.js'
|
||||
import { EditPanel, FullPanel, Panel } from './ui/panel.js'
|
||||
import TableEditor from './tableeditor.js'
|
||||
import Tooltip from './ui/tooltip.js'
|
||||
import URLs from './urls.js'
|
||||
import * as Utils from './utils.js'
|
||||
|
@ -72,7 +71,6 @@ window.U = {
|
|||
Share,
|
||||
Slideshow,
|
||||
SyncEngine,
|
||||
TableEditor,
|
||||
Tooltip,
|
||||
URLs,
|
||||
Utils,
|
||||
|
|
Loading…
Reference in a new issue