Fix clear form (#907)

This commit is contained in:
Marek Choiński 2020-12-16 11:36:11 +01:00 committed by GitHub
parent 556ea52e8f
commit c3d97b9114
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
};