Commit b3dcd750 authored by colemanw's avatar colemanw

crmRouteBinder - Don't convert arrays to objects

parent 51c6816f
......@@ -66,7 +66,7 @@
value = fmt.decode($route.current.params[options.param]);
}
else {
value = _.isObject(options.default) ? angular.extend({}, options.default) : options.default;
value = _.cloneDeep(options.default);
ignorable[options.param] = fmt.encode(options.default);
}
$parse(options.expr).assign(_scope, value);
......
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