fix: pass mediaType and blobUrl props to BlossomViewer (#234)

The --type flag for blossom blob command was being parsed correctly but
the mediaType and blobUrl props were not forwarded from WindowRenderer
to BlossomViewer, causing the preview to always show "preview not available".

https://claude.ai/code/session_018edX9kUcEudJzwuFCGh1xf

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Alejandro
2026-01-30 17:41:05 +01:00
committed by GitHub
parent eca21d3191
commit 0a5c80bc9c

View File

@@ -230,6 +230,8 @@ export function WindowRenderer({ window, onClose }: WindowRendererProps) {
sourceUrl={window.props.sourceUrl}
targetServer={window.props.targetServer}
sha256={window.props.sha256}
blobUrl={window.props.blobUrl}
mediaType={window.props.mediaType}
/>
);
break;