some fix for library-artist page
This commit is contained in:
parent
47884f90b6
commit
f6e4981083
2 changed files with 3 additions and 9 deletions
|
@ -1435,7 +1435,7 @@ const app = new Vue({
|
||||||
}
|
}
|
||||||
this.library.artists.downloadState = 1
|
this.library.artists.downloadState = 1
|
||||||
this.library.downloadNotification.show = true
|
this.library.downloadNotification.show = true
|
||||||
this.library.downloadNotification.message = "Updating library albums..."
|
this.library.downloadNotification.message = "Updating library artists..."
|
||||||
|
|
||||||
function downloadChunk() {
|
function downloadChunk() {
|
||||||
self.library.artists.downloadState = 1
|
self.library.artists.downloadState = 1
|
||||||
|
@ -1464,7 +1464,7 @@ const app = new Vue({
|
||||||
downloaded = response
|
downloaded = response
|
||||||
library = library.concat(downloaded.data)
|
library = library.concat(downloaded.data)
|
||||||
self.library.downloadNotification.show = true
|
self.library.downloadNotification.show = true
|
||||||
self.library.downloadNotification.message = "Updating library albums..."
|
self.library.downloadNotification.message = "Updating library artists..."
|
||||||
self.library.downloadNotification.total = downloaded.meta.total
|
self.library.downloadNotification.total = downloaded.meta.total
|
||||||
self.library.downloadNotification.progress = library.length
|
self.library.downloadNotification.progress = library.length
|
||||||
if (downloaded.meta.total == 0) {
|
if (downloaded.meta.total == 0) {
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
<script type="text/x-template" id="libraryartist-item">
|
<script type="text/x-template" id="libraryartist-item">
|
||||||
<div v-observe-visibility="{callback: visibilityChanged}"
|
<div v-observe-visibility="{callback: visibilityChanged}"
|
||||||
|
|
||||||
@click="select"
|
@click="select"
|
||||||
:data-id="item.id"
|
|
||||||
:data-type="artists"
|
|
||||||
:data-index="index"
|
|
||||||
:data-guid="guid"
|
|
||||||
:data-islibrary="true"
|
|
||||||
class="cd-mediaitem-list-item"
|
class="cd-mediaitem-list-item"
|
||||||
:class="{'mediaitem-selected': app.select_hasMediaItem(guid)}">
|
:class="{'mediaitem-selected': app.select_hasMediaItem(guid)}">
|
||||||
<template v-if="isVisible">
|
<template v-if="isVisible">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue