this.commonData[key] = dataset[key];
})).toPromise()
.then(_ => this.ingestCommonData())
+
+ // These will come up later -- prefetch.
+ .then(_ => this.serverStore.getItemBatch([
+ 'cat.copy.templates',
+ 'eg.cat.volcopy.defaults',
+ 'eg.cat.record.summary.collapse'
+ ]))
+
.then(_ => this.fetchDefaults())
.then(_ => this.fetchTemplates());
}
this.commonData.acp_location.forEach(
loc => this.copyLocationMap[loc.id()] = loc);
-
// Remove the -1 prefix and suffix so they can be treated
// specially in the markup.
this.commonData.acn_prefix =