Merge pull request #5444 from dannon/multidelete_fix

[18.01] Ensure jobStateSummariesCollection exists;
This commit is contained in:
Marius van den Beek
2018-02-02 17:51:27 +01:00
committed by GitHub
@@ -72,7 +72,7 @@ var HistoryContents = _super.extend(BASE_MVC.LoggableMixin).extend({
if (historyContent.attributes.history_content_type === "dataset_collection") {
var jobSourceType = historyContent.attributes.job_source_type;
var jobSourceId = historyContent.attributes.job_source_id;
if (jobSourceType) {
if (jobSourceType && this.jobStateSummariesCollection) {
this.jobStateSummariesCollection.add({
id: jobSourceId,
model: jobSourceType,