Refactor parameterComponent to conditionally set the width of InputListComponent
This commit is contained in:
parent
ee86334286
commit
22debde71d
1 changed files with 6 additions and 1 deletions
|
|
@ -449,7 +449,12 @@ export default function ParameterComponent({
|
|||
!data.node?.template[name].options ? (
|
||||
<div className="mt-2 w-full">
|
||||
{data.node?.template[name].list ? (
|
||||
<div className="w-5/6 flex-grow">
|
||||
<div
|
||||
className={
|
||||
(data.node?.template[name].refresh ? "w-5/6 " : "") +
|
||||
"flex-grow"
|
||||
}
|
||||
>
|
||||
<InputListComponent
|
||||
disabled={disabled}
|
||||
value={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue