From 16fd5d8ca3b6b0a1a3e4894e7d319a96b5ed4950 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 3 Jun 2024 17:33:00 +0200 Subject: [PATCH] wip: typo --- umap/static/umap/js/modules/importer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umap/static/umap/js/modules/importer.js b/umap/static/umap/js/modules/importer.js index 28f0a7fb..b0127ace 100644 --- a/umap/static/umap/js/modules/importer.js +++ b/umap/static/umap/js/modules/importer.js @@ -39,11 +39,11 @@ export default class Importer { this.map = map this.TYPES = ['geojson', 'csv', 'gpx', 'kml', 'osm', 'georss', 'umap'] this.IMPORTERS = [] - this.loadImporterss() + this.loadImporters() this.dialog = new Dialog(this.map._controlContainer) } - loadImporterss() { + loadImporters() { for (const key of Object.keys(this.map.options.importers || {})) { import(`./importers/${key}.js`).then((mod) => { this.IMPORTERS.push(new mod.Importer(this.map, this.map.options.importers[key]))