Repository: hadoop
Updated Branches:
  refs/heads/trunk 95303f50d -> b3612dd90


YARN-8419. [UI2] User cannot submit a new service as submit button is always 
disabled. Contributed by Suma Shivaprasad.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b3612dd9
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b3612dd9
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b3612dd9

Branch: refs/heads/trunk
Commit: b3612dd90c419c6ac5d59ab0793b4adec40ef5c6
Parents: 95303f5
Author: Sunil G <sun...@apache.org>
Authored: Tue Jun 12 17:40:41 2018 +0530
Committer: Sunil G <sun...@apache.org>
Committed: Tue Jun 12 17:40:41 2018 +0530

----------------------------------------------------------------------
 .../src/main/webapp/app/components/deploy-service.js               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b3612dd9/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
----------------------------------------------------------------------
diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
index ff93985..f73f33f 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
@@ -167,7 +167,7 @@ export default Ember.Component.extend({
     if (this.get('isLoading')) {
       return false;
     }
-    if (this.get('isUserNameGiven')) {
+    if (this.get('isSecurityNotEnabled') && this.get('isUserNameGiven')) {
       return false;
     }
     if (this.get('isStandardViewType')) {


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to