Commit c15bb3c0 authored by nanahira's avatar nanahira

fix extended class name

parent 1c6bdc6d
...@@ -45,7 +45,7 @@ export function InsertField< ...@@ -45,7 +45,7 @@ export function InsertField<
...(map[key].options || {}), ...(map[key].options || {}),
})(extendedCl.prototype, key); })(extendedCl.prototype, key);
} }
Object.defineProperty(cl, 'name', { Object.defineProperty(extendedCl, 'name', {
value: newName || cl.name, value: newName || cl.name,
}); });
return extendedCl; return extendedCl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment