Add switch to change field list between current and all
This commit is contained in:
@@ -19,7 +19,7 @@ function (angular, _, config) {
|
||||
if(!_.isUndefined(n) && n.length) {
|
||||
// Only get the mapping for indices we don't know it for
|
||||
var indices = _.difference(n,_.keys(self.mapping));
|
||||
// Only get the mapping if there are indices
|
||||
// Only get the mapping if there are new indices
|
||||
if(indices.length > 0) {
|
||||
self.map(indices).then(function(result) {
|
||||
self.mapping = _.extend(self.mapping,result);
|
||||
|
||||
Reference in New Issue
Block a user