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