mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-21 19:24:09 -04:00
[web-src] Fix for wrong AirPlay output icon
This commit is contained in:
parent
e168918b95
commit
d5f8129b71
@ -7,7 +7,7 @@
|
|||||||
<span class="icon fd-has-action"
|
<span class="icon fd-has-action"
|
||||||
:class="{ 'has-text-grey-light': !output.selected }"
|
:class="{ 'has-text-grey-light': !output.selected }"
|
||||||
v-on:click="set_enabled">
|
v-on:click="set_enabled">
|
||||||
<i class="mdi mdi-18px" :class="type_class"></i>
|
<i class="mdi mdi-18px" :class="type_class" :title="output.type"></i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -42,7 +42,7 @@ export default {
|
|||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
type_class () {
|
type_class () {
|
||||||
if (this.output.type === 'AirPlay') {
|
if (this.output.type.startsWith('AirPlay')) {
|
||||||
return 'mdi-airplay'
|
return 'mdi-airplay'
|
||||||
} else if (this.output.type === 'Chromecast') {
|
} else if (this.output.type === 'Chromecast') {
|
||||||
return 'mdi-cast'
|
return 'mdi-cast'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user