Skip to content

Commit c092ea9

Browse files
authored
Merge pull request #1430 from bbc/fix/new-previews-in-out-words
2 parents b868b75 + d445b33 commit c092ea9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/webui/src/client/ui/PreviewPopUp/PreviewPopUpContext.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,13 @@ export function convertSourceLayerItemToPreview(
150150
src: contentStatus.thumbnailUrl,
151151
}
152152
: undefined,
153-
// todo - add in-out words after rebasing
153+
content.lastWords
154+
? {
155+
type: 'inOutWords',
156+
in: content.firstWords,
157+
out: content.lastWords,
158+
}
159+
: undefined,
154160
...(contentStatus?.messages?.map<PreviewContent>((m) => ({
155161
type: 'warning',
156162
content: m as any,

0 commit comments

Comments
 (0)