mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
chore: change cadastrefr buttons (#2333)
We remove the cancel button and change the accept label.
This commit is contained in:
commit
c9d532508d
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
@ -56,6 +57,8 @@ export class Importer {
|
|||
.open({
|
||||
template: container,
|
||||
className: `${this.id} importer dark`,
|
||||
cancel: false,
|
||||
accept: translate('Choose this data'),
|
||||
})
|
||||
.then(confirm)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue