Fix default text
This commit is contained in:
@@ -178,6 +178,8 @@ export default {
|
|||||||
this.messages = aoMarkers.messages;
|
this.messages = aoMarkers.messages;
|
||||||
this.lastUpdate = aoMarkers.last_update;
|
this.lastUpdate = aoMarkers.last_update;
|
||||||
|
|
||||||
|
console.log(this.baseMaps);
|
||||||
|
|
||||||
//Base maps (raster tiles)
|
//Base maps (raster tiles)
|
||||||
let asSources = {};
|
let asSources = {};
|
||||||
let asLayers = [];
|
let asLayers = [];
|
||||||
@@ -577,10 +579,10 @@ export default {
|
|||||||
<h1><SpotIcon :icon="'project'" :classes="'fa-fw'" :text="spot.lang('hikes')" /></h1>
|
<h1><SpotIcon :icon="'project'" :classes="'fa-fw'" :text="spot.lang('hikes')" /></h1>
|
||||||
<div class="settings-section-body">
|
<div class="settings-section-body">
|
||||||
<div class="radio" v-for="project in projects">
|
<div class="radio" v-for="project in projects">
|
||||||
<input type="radio" :id="currProject.id" :value="currProject.codename" v-model="currProjectCodeName" />
|
<input type="radio" :id="project.id" :value="project.codename" v-model="currProjectCodeName" />
|
||||||
<label :for="currProject.id">
|
<label :for="project.id">
|
||||||
<span>{{ currProject.name }}</span>
|
<span>{{ project.name }}</span>
|
||||||
<a class="download" :href="currProject.gpxfilepath" :title="spot.lang('track_download')" @click.stop="()=>{}">
|
<a class="download" :href="project.gpxfilepath" :title="spot.lang('track_download')" @click.stop="()=>{}">
|
||||||
<SpotIcon :icon="'download'" :classes="'push-left'" />
|
<SpotIcon :icon="'download'" :classes="'push-left'" />
|
||||||
</a>
|
</a>
|
||||||
</label>
|
</label>
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ export default class Spot {
|
|||||||
}
|
}
|
||||||
|
|
||||||
lang(sKey, asParams = []) {
|
lang(sKey, asParams = []) {
|
||||||
|
if(sKey == '') return '';
|
||||||
if(typeof asParams !== 'object') asParams = [asParams];
|
if(typeof asParams !== 'object') asParams = [asParams];
|
||||||
|
|
||||||
var sLang = '';
|
var sLang = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user