mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[ZEPPELIN-1376] Fixes JS bug to display error popup for other interpreters
This commit is contained in:
parent
9f76ef4732
commit
177fbd309f
1 changed files with 3 additions and 2 deletions
|
|
@ -108,10 +108,11 @@
|
|||
|
||||
var checkDownloadingDependencies = function() {
|
||||
var isDownloading = false;
|
||||
for (var setting = 0; setting < $scope.interpreterSettings.length; setting++) {
|
||||
var setting = $scope.interpreterSettings[setting];
|
||||
for (var index = 0; index < $scope.interpreterSettings.length; index++) {
|
||||
var setting = $scope.interpreterSettings[index];
|
||||
if (setting.status === 'DOWNLOADING_DEPENDENCIES') {
|
||||
isDownloading = true;
|
||||
break;
|
||||
} else if (setting.status === 'ERROR') {
|
||||
ngToast.danger({content: 'Error setting properties for interpreter \'' +
|
||||
setting.group + '.' + setting.name + '\': ' + setting.errorReason,
|
||||
|
|
|
|||
Loading…
Reference in a new issue