mirror of
https://github.com/koel/koel
synced 2024-11-24 21:23:06 +00:00
Fix #292
This commit is contained in:
parent
8c862cb9cc
commit
0186cefa32
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@ import {
|
|||
includes,
|
||||
union,
|
||||
difference,
|
||||
indexOf,
|
||||
map,
|
||||
shuffle
|
||||
} from 'lodash';
|
||||
|
@ -162,7 +161,7 @@ export default {
|
|||
* @return {?Integer}
|
||||
*/
|
||||
indexOf(song) {
|
||||
return indexOf(this.state.songs, song);
|
||||
return this.state.songs.indexOf(song);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue