Seems that hierarchical error handling works..
TreeTable component seems to work too. Edit is half-way through. Create / delete are TBD.
This commit is contained in:
parent
79ea9e1897
commit
5e4c86f626
24 changed files with 9967 additions and 261 deletions
|
@ -24,7 +24,8 @@ module.exports = {
|
|||
filterCustomFields,
|
||||
getMjmlTemplate,
|
||||
rollbackAndReleaseConnection,
|
||||
filterObject
|
||||
filterObject,
|
||||
enforce
|
||||
};
|
||||
|
||||
function getDefaultMergeTags(callback) {
|
||||
|
@ -305,3 +306,10 @@ function filterObject(obj, allowedKeys) {
|
|||
|
||||
return result;
|
||||
}
|
||||
|
||||
function enforce(condition, message) {
|
||||
console.log(condition);
|
||||
if (!condition) {
|
||||
throw new Error(message);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue