fix: return of the shuffled clone(s)
This commit is contained in:
parent
9ca85e7351
commit
057d5f852e
3 changed files with 7 additions and 4 deletions
|
@ -32,7 +32,10 @@ export default {
|
|||
},
|
||||
|
||||
// watching
|
||||
featuredWatching: (watching, count) => shuffleArray(watching).slice(0, count),
|
||||
featuredWatching: (watching, count) => {
|
||||
const data = [...watching]
|
||||
return shuffleArray(data).slice(0, count)
|
||||
},
|
||||
|
||||
// dates
|
||||
isoDateOnly: (date, separator) => {
|
||||
|
|
Reference in a new issue