{(block) =>
- {children(load, find, create, update, (id) => block(() => remove(id)), loading)}
+ {children(load, find, create, update, (id, cb) => block(() => remove(id, cb)), loading)}
}
);
diff --git a/ui/src/app/metadata/hoc/attribute/AttributeBundleList.js b/ui/src/app/metadata/hoc/attribute/AttributeBundleList.js
index 447ca0d1f..06ca17b2a 100644
--- a/ui/src/app/metadata/hoc/attribute/AttributeBundleList.js
+++ b/ui/src/app/metadata/hoc/attribute/AttributeBundleList.js
@@ -6,10 +6,14 @@ export function AttributeBundleList({ load, children }) {
/*eslint-disable react-hooks/exhaustive-deps*/
React.useEffect(() => {
- load((list) => setBundles(list));
+ reload();
}, []);
+ const reload = () => {
+ load((list) => setBundles(list));
+ };
+
return (
-