chore: biome

Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
This commit is contained in:
Yohan Boniface 2024-10-24 12:38:40 +02:00
parent 31c15e7387
commit 617c0cee56
4 changed files with 5 additions and 5 deletions

View file

@ -818,7 +818,7 @@ U.Map = L.Map.extend({
},
createDataLayer: function (options = {}, sync = true, future_uuid = undefined) {
console.log("Create Datalayer", options)
console.log('Create Datalayer', options)
options.name = options.name || `${L._('Layer')} ${this.datalayers_index.length + 1}`
const datalayer = new U.DataLayer(this, options, sync, future_uuid)
@ -829,7 +829,7 @@ U.Map = L.Map.extend({
},
newDataLayer: function () {
const datalayer = this.createDataLayer({}, sync=true)
const datalayer = this.createDataLayer({}, (sync = true))
datalayer.edit()
},