fix vue warnings
This commit is contained in:
parent
392eeed286
commit
5cde1348d9
@ -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" />
|
||||
|
@ -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 [] },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user