Skip to content

Commit

Permalink
chore: change cadastrefr buttons (#2333)
Browse files Browse the repository at this point in the history
We remove the cancel button and change the accept label.
  • Loading branch information
yohanboniface authored Dec 3, 2024
2 parents 6221b70 + 26ff82e commit c9d5325
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions umap/static/umap/js/modules/importers/cadastrefr.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { DomUtil } from '../../../vendors/leaflet/leaflet-src.esm.js'
import { BaseAjax, SingleMixin } from '../autocomplete.js'
import * as Util from '../utils.js'
import { AutocompleteCommunes } from './communesfr.js'
import { translate } from '../i18n.js'

const TEMPLATE = `
<h3>Cadastre</h3>
Expand Down Expand Up @@ -56,6 +57,8 @@ export class Importer {
.open({
template: container,
className: `${this.id} importer dark`,
cancel: false,
accept: translate('Choose this data'),
})
.then(confirm)
}
Expand Down

0 comments on commit c9d5325

Please sign in to comment.