chore: prettier

This commit is contained in:
Yohan Boniface 2023-12-16 09:16:13 +01:00
parent 625131f7df
commit 5d2b968863

View file

@ -2,7 +2,10 @@ L.U.BaseAction = L.ToolbarAction.extend({
initialize: function (map) { initialize: function (map) {
this.map = map this.map = map
if (this.options.label) { if (this.options.label) {
this.options.tooltip = this.map.help.displayLabel(this.options.label, withKbdTag=false) this.options.tooltip = this.map.help.displayLabel(
this.options.label,
(withKbdTag = false)
)
} }
this.options.toolbarIcon = { this.options.toolbarIcon = {
className: this.options.className, className: this.options.className,
@ -18,7 +21,7 @@ L.U.ImportAction = L.U.BaseAction.extend({
options: { options: {
helpMenu: true, helpMenu: true,
className: 'upload-data dark', className: 'upload-data dark',
label: 'IMPORT_PANEL' label: 'IMPORT_PANEL',
}, },
addHooks: function () { addHooks: function () {
@ -87,7 +90,7 @@ L.U.DrawMarkerAction = L.U.BaseAction.extend({
options: { options: {
helpMenu: true, helpMenu: true,
className: 'umap-draw-marker dark', className: 'umap-draw-marker dark',
label: 'DRAW_MARKER' label: 'DRAW_MARKER',
}, },
addHooks: function () { addHooks: function () {
@ -99,7 +102,7 @@ L.U.DrawPolylineAction = L.U.BaseAction.extend({
options: { options: {
helpMenu: true, helpMenu: true,
className: 'umap-draw-polyline dark', className: 'umap-draw-polyline dark',
label: 'DRAW_LINE' label: 'DRAW_LINE',
}, },
addHooks: function () { addHooks: function () {
@ -111,7 +114,7 @@ L.U.DrawPolygonAction = L.U.BaseAction.extend({
options: { options: {
helpMenu: true, helpMenu: true,
className: 'umap-draw-polygon dark', className: 'umap-draw-polygon dark',
label: 'DRAW_POLYGON' label: 'DRAW_POLYGON',
}, },
addHooks: function () { addHooks: function () {