From bf8a3755cdc8ed004b05ea3da402ea3daa60f8ad Mon Sep 17 00:00:00 2001
From: blavenie <benoit.lavenier@e-is.pro>
Date: Mon, 1 Oct 2018 15:57:17 +0200
Subject: [PATCH] [fix] Join wizard: hide unused back button when creating a
 simple wallet

---
 www/js/controllers/join-controllers.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/js/controllers/join-controllers.js b/www/js/controllers/join-controllers.js
index d8ae4de45..0c9d21d7a 100644
--- a/www/js/controllers/join-controllers.js
+++ b/www/js/controllers/join-controllers.js
@@ -251,7 +251,7 @@ function JoinModalController($scope, $state, $interval, $timeout, Device, UIUtil
     else if (formName == "saltForm") {
       behavior = {
         helpAnchor: 'join-salt',
-        hasPreviousButton: true,
+        hasPreviousButton: $scope.accountType === 'member',
         hasNextButton: true,
         focus: 'salt'
       };
-- 
GitLab