Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(runtimes): normalize Qwen logo import for desktop (#5728)
Multica Eve365a2287a1b6
diff --git a/packages/views/runtimes/components/provider-logo.tsx b/packages/views/runtimes/components/provider-logo.tsxindex 56f0335142..a157e2afd9 100644--- a/packages/views/runtimes/components/provider-logo.tsx+++ b/packages/views/runtimes/components/provider-logo.tsx@@ -286,7 +286,10 @@ function GrokLogo({ className }: { className: string }) {// Qwen Code — official SVG copied verbatim from QwenLM/qwen-code's desktop// brand assets (packages/desktop/apps/electron/resources/brands/qwen-code/icon.svg).-const qwenLogoSrc = typeof qwenLogo === "string" ? qwenLogo : qwenLogo.src;+const qwenLogoSrc: string = (() => {+ const asset = qwenLogo as unknown;+ return typeof asset === "string" ? asset : (asset as { src: string }).src;+})();function QwenLogo({ className }: { className: string }) {return <img src={qwenLogoSrc} alt="" aria-hidden className={className} />;