fix vue warnings

This commit is contained in:
Jonas Heinrich 2020-10-17 12:43:07 +02:00
parent 392eeed286
commit 5cde1348d9
2 changed files with 4 additions and 16 deletions

View File

@ -1,5 +1,5 @@
<template>
<Content :class="{'icon-loading': loading}" app-name="Radio">
<Content app-name="Radio">
<AppNavigation>
<template id="app-radio-navigation" #list>
<AppNavigationItem icon="icon-category-dashboard" title="Top" />

View File

@ -10,7 +10,7 @@
</tr>
</thead>
<tbody v-if="stationData">
<tr v-for="station in stationData" :key="station">
<tr v-for="(station, idx) in stationData" :key="idx">
<td>
<div class="stationIcon"
:style="{ backgroundImage: `url('${ station.favicon }')` }" />
@ -47,20 +47,8 @@ export default {
},
props: {
stationData: {
type: String,
default: '',
},
stationIsfav: {
type: Boolean,
default: false,
},
stationUuid: {
type: String,
required: true,
},
stationImg: {
type: String,
default: '',
type: Array,
default() { return [] },
},
},
}