mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-17 01:46:07 +00:00
fix: stabilize 4.11 branch runtime state
This commit is contained in:
committed by
huanghuoguoguo
parent
35d970c4a5
commit
bdc6704d88
@@ -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>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user