👨‍✈️ chore: Minor MCP-UI Logic Cleanup (#10950)

This commit is contained in:
Dustin Healy 2025-12-12 14:10:57 -08:00 committed by GitHub
parent 959e301f99
commit 5b0cce2e2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 14 deletions

View file

@ -56,7 +56,7 @@ export function MCPUIResource(props: MCPUIResourceProps) {
console.error('Error rendering UI resource:', error);
return (
<span className="inline-flex items-center rounded bg-red-50 px-2 py-1 text-xs font-medium text-red-600">
{localize('com_ui_ui_resource_error', { 0: uiResource.name })}
{localize('com_ui_ui_resource_error', { 0: uiResource.name || resourceId })}
</span>
);
}