|
@@ -17,8 +17,8 @@ export default {
|
|
|
await Promise.all([
|
|
|
loadResource(window.path_prefix + `${this.resource_path}/leaflet/leaflet.css`),
|
|
|
loadResource(window.path_prefix + `${this.resource_path}/leaflet/leaflet.js`),
|
|
|
- ...this.additional_resources.map((resource) => loadResource(resource)),
|
|
|
]);
|
|
|
+ await Promise.all(this.additional_resources.map((resource) => loadResource(resource)));
|
|
|
if (this.draw_control) {
|
|
|
await Promise.all([
|
|
|
loadResource(window.path_prefix + `${this.resource_path}/leaflet-draw/leaflet.draw.css`),
|