JS type fixes.

This commit is contained in:
Buster Neece 2022-12-26 03:49:26 -06:00
parent df6eb9c99d
commit 1023a104f9
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
6 changed files with 374 additions and 375 deletions

View File

@ -109,11 +109,6 @@ export default {
]
};
},
computed: {
langAlbumArt () {
return this.$gettext('Album Art');
}
},
methods: {
doSubmitRequest (url) {
this.axios.post(url).then((resp) => {

View File

@ -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">{{

View File

@ -1,3 +1,5 @@
// noinspection all
var stream = {};
var defaultChannels = 2;

View File

@ -1,3 +1,5 @@
// noinspection all
export default {
inject: ['getStream', 'resumeStream'],
data: function () {

View File

@ -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>

View File

@ -1,4 +1,4 @@
'use strict';
// noinspection all
// eslint-disable-next-line one-var
export var