some fix for library-artist page

This commit is contained in:
vapormusic 2021-12-26 23:00:54 +07:00
parent 47884f90b6
commit f6e4981083
2 changed files with 3 additions and 9 deletions

View file

@ -1435,7 +1435,7 @@ const app = new Vue({
}
this.library.artists.downloadState = 1
this.library.downloadNotification.show = true
this.library.downloadNotification.message = "Updating library albums..."
this.library.downloadNotification.message = "Updating library artists..."
function downloadChunk() {
self.library.artists.downloadState = 1
@ -1464,7 +1464,7 @@ const app = new Vue({
downloaded = response
library = library.concat(downloaded.data)
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.progress = library.length
if (downloaded.meta.total == 0) {

View file

@ -1,12 +1,6 @@
<script type="text/x-template" id="libraryartist-item">
<div v-observe-visibility="{callback: visibilityChanged}"
@click="select"
:data-id="item.id"
:data-type="artists"
:data-index="index"
:data-guid="guid"
:data-islibrary="true"
class="cd-mediaitem-list-item"
:class="{'mediaitem-selected': app.select_hasMediaItem(guid)}">
<template v-if="isVisible">