fix(player): hide empty index prop
This commit is contained in:
parent
49253f7a4d
commit
0ce10e4968
1 changed files with 1 additions and 2 deletions
|
|
@ -93,8 +93,7 @@ export default class MFileReader extends RawMessageReader {
|
|||
const index = this.noIndexes ? 0 : this.getLastMessageID()
|
||||
const msg = Object.assign(rewriteMessage(rMsg), {
|
||||
time: this.currentTime,
|
||||
_index: this.noIndexes ? undefined : index,
|
||||
})
|
||||
}, !this.noIndexes ? { _index: index } : {})
|
||||
|
||||
return msg
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue