Add missing audio field (#1296)

This commit is contained in:
toasted-nutbread 2021-01-23 15:11:10 -05:00 committed by GitHub
parent ca3f9c3648
commit 323c2e8bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,7 @@ class DisplayAudio {
async _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) {