JS type fixes.
This commit is contained in:
parent
df6eb9c99d
commit
1023a104f9
|
@ -109,11 +109,6 @@ export default {
|
|||
]
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
langAlbumArt () {
|
||||
return this.$gettext('Album Art');
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
doSubmitRequest (url) {
|
||||
this.axios.post(url).then((resp) => {
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
|
||||
<div class="list-group list-group-flush" v-if="files.length > 0">
|
||||
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start"
|
||||
v-for="(rowFile, rowIndex) in files" v-bind:class="{ active: rowIndex == fileIndex }"
|
||||
v-for="(rowFile, rowIndex) in files" v-bind:class="{ active: rowIndex === fileIndex }"
|
||||
v-on:click.prevent="play({ fileIndex: rowIndex })">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-0">{{
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// noinspection all
|
||||
|
||||
var stream = {};
|
||||
var defaultChannels = 2;
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// noinspection all
|
||||
|
||||
export default {
|
||||
inject: ['getStream', 'resumeStream'],
|
||||
data: function () {
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<template #cell(stream)="row">
|
||||
<span v-if="row.item.mount_name == ''">
|
||||
<span v-if="row.item.mount_name === ''">
|
||||
{{ $gettext('Unknown') }}
|
||||
</span>
|
||||
<span v-else>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
'use strict';
|
||||
// noinspection all
|
||||
|
||||
// eslint-disable-next-line one-var
|
||||
export var
|
||||
|
|
Loading…
Reference in New Issue