summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-23 15:11:10 -0500
committerGitHub <noreply@github.com>2021-01-23 15:11:10 -0500
commit323c2e8bf3b51c0852fa0082e5549cc5a6fe2da0 (patch)
tree15d6439d6c80f4c64b8fbfaa3b837a05b68eaf4a
parentca3f9c3648f07480707a3b02e4ad70e3fd0a3d81 (diff)
Add missing audio field (#1296)
-rw-r--r--ext/mixed/js/display-audio.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display-audio.js b/ext/mixed/js/display-audio.js
index d4ee754a..2d95eea4 100644
--- a/ext/mixed/js/display-audio.js
+++ b/ext/mixed/js/display-audio.js
@@ -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) {