store: Fix chrome support
This commit is contained in:
parent
918f350dff
commit
2a4a3a3102
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ socket.on('*', (event, data) => {
|
|||
storage[name] = data
|
||||
events[name]()
|
||||
}
|
||||
if (event.contains('single')) {
|
||||
if (event.indexOf('single') >= 0) {
|
||||
let check = event.replace('single', 'all')
|
||||
if (events[name]) {
|
||||
let index = _.findIndex(storage[check], { id: data.id })
|
||||
|
|
Loading…
Reference in a new issue