Chore: regenerate docs, lint

This commit is contained in:
Pieter Vander Vennet 2023-12-30 15:24:30 +01:00
parent 7b41b617f6
commit bad0edd4b0
201 changed files with 6044 additions and 1750 deletions

View file

@ -52,7 +52,7 @@
if (maxDistanceInMeters) {
onDestroy(
mla.location.addCallbackD((newLocation) => {
const l : [number, number] = [newLocation.lon, newLocation.lat]
const l: [number, number] = [newLocation.lon, newLocation.lat]
const c: [number, number] = [initialCoordinate.lon, initialCoordinate.lat]
const d = GeoOperations.distanceBetween(l, c)
if (d <= maxDistanceInMeters) {

View file

@ -79,9 +79,9 @@
},
[valuesign, beta]
)
function onSave(){
if(_value.data){
function onSave() {
if (_value.data) {
value.setData(_value.data)
}
}
@ -100,10 +100,8 @@
</div>
</div>
<button class="primary" on:click={() => onSave()}>
Select this incline
</button>
<button class="primary" on:click={() => onSave()}>Select this incline</button>
<div>
<Tr t={Translations.t.validation.slope.inputExplanation} />
</div>