fix: stabilize 4.11 branch runtime state

This commit is contained in:
Junyan Qin
2026-06-30 21:34:25 +08:00
committed by huanghuoguoguo
parent 35d970c4a5
commit bdc6704d88
4 changed files with 21 additions and 10 deletions
@@ -93,11 +93,9 @@ function getPluginComponentIconURL(value?: string): string | null {
function SelectOptionContent({
label,
value,
showDescription = false,
}: {
label: string;
value: string;
showDescription?: boolean;
}) {
const iconURL = getPluginComponentIconURL(value);
@@ -112,11 +110,6 @@ function SelectOptionContent({
)}
<div className="min-w-0 flex flex-col">
<span className="truncate">{label}</span>
{showDescription && (
<span className="truncate text-xs text-muted-foreground">
{value}
</span>
)}
</div>
</div>
);
@@ -487,7 +480,6 @@ export default function DynamicFormItemComponent({
<SelectOptionContent
label={extractI18nObject(option.label)}
value={option.name}
showDescription
/>
</SelectItem>
))}