From e643b1cf7ef3a026d2cd1722f54f0e8c8bd07041 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 16 Oct 2017 15:21:51 -0400 Subject: [PATCH] cipher rename on password generator page --- .../app/tools/toolsPasswordGeneratorController.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/popup/app/tools/toolsPasswordGeneratorController.js b/src/popup/app/tools/toolsPasswordGeneratorController.js index 63a64eb1da..7d8fbb0f4c 100644 --- a/src/popup/app/tools/toolsPasswordGeneratorController.js +++ b/src/popup/app/tools/toolsPasswordGeneratorController.js @@ -70,10 +70,10 @@ $analytics.eventTrack('Selected Generated Password'); if (addState) { - addState.login.password = $scope.password; + addState.cipher.login.password = $scope.password; } else if (editState) { - editState.login.password = $scope.password; + editState.cipher.login.password = $scope.password; } dismiss(); @@ -81,18 +81,18 @@ function dismiss() { if (addState) { - $state.go('addLogin', { + $state.go('addCipher', { animation: 'out-slide-down', from: addState.from, - login: addState.login + cipher: addState.cipher }); } else if (editState) { - $state.go('editLogin', { + $state.go('editCipher', { animation: 'out-slide-down', - login: editState.login, + cipher: editState.cipher, fromView: editState.fromView, - loginId: editState.loginId, + cipherId: editState.cipherId, from: editState.from }); }