mirror of
https://github.com/koel/koel
synced 2024-12-01 00:09:17 +00:00
fix: artist side panel
This commit is contained in:
parent
595f1681ff
commit
c2426c1f20
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ context('Extra Information Panel', () => {
|
||||||
cy.fixture('song-info.get.200.json').then(data => {
|
cy.fixture('song-info.get.200.json').then(data => {
|
||||||
data.lyrics = null
|
data.lyrics = null
|
||||||
|
|
||||||
cy.intercept('GET', '/api/**/info', {
|
cy.intercept('/api/**/info', {
|
||||||
statusCode: 200,
|
statusCode: 200,
|
||||||
body: data
|
body: data
|
||||||
})
|
})
|
||||||
|
|
|
@ -42,7 +42,7 @@ const showingFullBio = ref(false)
|
||||||
|
|
||||||
watch(artist, () => (showingFullBio.value = false))
|
watch(artist, () => (showingFullBio.value = false))
|
||||||
|
|
||||||
const showSummary = computed(() => mode.value !== 'full' && !showingFullBio)
|
const showSummary = computed(() => mode.value !== 'full' && !showingFullBio.value)
|
||||||
const showFull = computed(() => !showSummary.value)
|
const showFull = computed(() => !showSummary.value)
|
||||||
|
|
||||||
const shuffleAll = () => playbackService.playAllByArtist(artist.value, false)
|
const shuffleAll = () => playbackService.playAllByArtist(artist.value, false)
|
||||||
|
|
Loading…
Reference in a new issue