chore: more books + bump deps
This commit is contained in:
parent
2722fd40f4
commit
6da001328b
5 changed files with 15 additions and 15 deletions
|
@ -235,7 +235,7 @@ export default {
|
|||
const dataSlice = data.slice(0, count)
|
||||
let last;
|
||||
|
||||
if (dataSlice.length === 0) return ''
|
||||
if (dataSlice.length === 0) return null
|
||||
if (dataSlice.length === 1) return type === 'genre' ? dataSlice[0] : dataSlice[0]['artist_name']
|
||||
|
||||
const allButLast = dataSlice.slice(0, -1).map(item => {
|
||||
|
|
Reference in a new issue