You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2020/02/12 12:21:19 UTC

[GitHub] [zeppelin] zjffdu commented on a change in pull request #3641: [ZEPPELIN-3751]. Interpreter Binding menu of note only shows default interpreter

zjffdu commented on a change in pull request #3641: [ZEPPELIN-3751]. Interpreter Binding menu of note only shows default interpreter
URL: https://github.com/apache/zeppelin/pull/3641#discussion_r378217150
 
 

 ##########
 File path: zeppelin-web/src/app/notebook/notebook.controller.js
 ##########
 @@ -1251,11 +1251,11 @@ function NotebookCtrl($scope, $route, $routeParams, $location, $rootScope,
   };
 
   const isSettingDirty = function() {
-    // if (angular.equals($scope.interpreterBindings, $scope.interpreterBindingsOrig)) {
-    //   return false;
-    // } else {
-    return false;
-    // }
+    if (angular.equals($scope.interpreterBindings, $scope.interpreterBindingsOrig)) {
+      return false;
+    } else {
+      return false;
 
 Review comment:
   False is for the case when there's no changes in interpreter binding, then we don't need to invoke the rest api.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services