Permalink
Browse files

Merge pull request #2742 from antgonza/hot-fix

hot-fix-111918
  • Loading branch information...
charles-cowart committed Nov 20, 2018
2 parents 9b882c7 + eb049bd commit b62e978c20222f7ae79777ee006fde66dc4aa7ae
Showing with 7 additions and 2 deletions.
  1. +6 −2 qiita_pet/static/js/networkVue.js
  2. +1 −0 qiita_pet/templates/sitebase.html
@@ -1045,9 +1045,13 @@ Vue.component('processing-graph', {
if (data.nodes.length == 0) {
// No graph is available - execute the callback
$('#network-header-div').hide();
$("#processing-job-div").html("<h3>Error generating the analysis:</h3><h5>" + jobErrors + '</h5>');
if (!vm.isAnalysisPipeline) {
vm.noInitJobsCallback('processing-job-div', jobErrors);
} else {
$("#processing-job-div").html("<h3>Error generating the analysis:</h3><h5>" + jobErrors + '</h5>');
}
} else {
// A graph is available, update de current graph
// A graph is available, update the current graph
vm.updateGraph();
}
});
@@ -57,6 +57,7 @@
'Chrome': {'version': 49, 'download': 'https://www.google.com/chrome/browser/'},
'Firefox': {'version': 48, 'download': 'https://support.mozilla.org/en-US/kb/update-firefox-latest-version'},
'Safari': {'version': 12, 'download': 'http://support.apple.com/en-us/HT6104'},
'Chrome Mobile': {'version': 69, 'download': 'https://www.google.com/chrome/browser/'},
}
$(window).resize(function () {

0 comments on commit b62e978

Please sign in to comment.