Add missing audio field (#1296)
This commit is contained in:
parent
ca3f9c3648
commit
323c2e8bf3
@ -277,7 +277,7 @@ class DisplayAudio {
|
|||||||
|
|
||||||
async _getExpressionAudioInfoList(source, expression, reading, details) {
|
async _getExpressionAudioInfoList(source, expression, reading, details) {
|
||||||
const infoList = await api.getExpressionAudioInfoList(source, expression, reading, details);
|
const infoList = await api.getExpressionAudioInfoList(source, expression, reading, details);
|
||||||
return infoList.map((info) => ({info, audioPromise: null}));
|
return infoList.map((info) => ({info, audioPromise: null, audio: null}));
|
||||||
}
|
}
|
||||||
|
|
||||||
_getExpressionAndReading(definitionIndex, expressionIndex) {
|
_getExpressionAndReading(definitionIndex, expressionIndex) {
|
||||||
|
Loading…
Reference in New Issue
Block a user