Adding sections to login form and allowing schema overriding
This commit is contained in:
1 parent
c89b0d4bef
commit
4fd18c61aa
9 files changed
+26
-15
No files matched your search
@@ -11,7 +11,8 @@ const extend = (...argsArray) => {
|
||||
const result = argsArray[0] || {};
|
||||
|
||||
// Extract the Spacebars kw hash
|
||||
const kwHash = _.last(argsArray).hash;
|
||||
const lastArg = _.last(argsArray);
|
||||
const kwHash = lastArg ? lastArg.hash : null;
|
||||
|
||||
// Extract the given objects
|
||||
const objects = _.initial(argsArray);
|
||||
|
||||
Reference in new issue
Block a user