Fix clear form (#907)
This commit is contained in:
parent
556ea52e8f
commit
c3d97b9114
1 changed files with 7 additions and 0 deletions
|
@ -90,7 +90,14 @@ const PluginsDetailsPage: React.FC<PluginsDetailsPageProps> = props => {
|
|||
item.value = value;
|
||||
}
|
||||
});
|
||||
|
||||
plugin.configuration.map(item => {
|
||||
if (item.name === name) {
|
||||
item.value = value;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
triggerChange();
|
||||
set(newData);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue