Refactor parameterComponent to use inline button_text
This commit is contained in:
parent
2316beea93
commit
0f9dccc4fd
1 changed files with 1 additions and 3 deletions
|
|
@ -607,9 +607,7 @@ export default function ParameterComponent({
|
|||
disabled={disabled}
|
||||
name={name}
|
||||
data={data}
|
||||
button_text={
|
||||
data.node?.template[name].refresh_button_text
|
||||
}
|
||||
button_text={data.node?.template[name].refresh_button_text}
|
||||
className="extra-side-bar-buttons ml-2 mt-1"
|
||||
handleUpdateValues={handleRefreshButtonPress}
|
||||
id={"refresh-button-" + name}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue