Skip to content

Commit d445b33

Browse files
author
Mint de Wit
committed
fix: enable in out words in new VT previews
1 parent 4c2f99b commit d445b33

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
@@ -146,7 +146,13 @@ export function convertSourceLayerItemToPreview(
146146
src: contentStatus.thumbnailUrl,
147147
}
148148
: undefined,
149-
// todo - add in-out words after rebasing
149+
content.lastWords
150+
? {
151+
type: 'inOutWords',
152+
in: content.firstWords,
153+
out: content.lastWords,
154+
}
155+
: undefined,
150156
...(contentStatus?.messages?.map<PreviewContent>((m) => ({
151157
type: 'warning',
152158
content: m as any,

0 commit comments

Comments
 (0)