From 323c2e8bf3b51c0852fa0082e5549cc5a6fe2da0 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 23 Jan 2021 15:11:10 -0500 Subject: [PATCH] Add missing audio field (#1296) --- ext/mixed/js/display-audio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {