Commit 5197d6a7fc47ec8003d7a6eadebc5dbb0fe649b3

Authored by Nicolás Guarnieri
1 parent 51253718ad
Exists in master

arreglo en la muestra del terminalkey

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
src/js/controller.js
1 1 angular.module('focaBotoneraPrincipal')
2 2 .controller('focaBotoneraPrincipalController', [
3   - '$scope', '$location', '$cookies', 'botones', 'focaModalService', 'APP',
4   - function($scope, $location, $cookies, botones, focaModalService, APP) {
  3 + '$scope', '$location', '$localStorage', 'botones', 'focaModalService', 'APP',
  4 + function($scope, $location, $localStorage, botones, focaModalService, APP) {
5 5 $scope.paginas = [];
6 6 if(APP === 'distribuidor') {
7 7 $scope.paginas.push(botones.data.slice(0, 3));
... ... @@ -19,7 +19,7 @@ angular.module('focaBotoneraPrincipal')
19 19 };
20 20  
21 21 $scope.showTerminal = function() {
22   - var key = $cookies.get('terminalKey');
  22 + var key = $localStorage.terminalKey;
23 23 focaModalService.alert('SU TERMINAL ES: ' + key);
24 24 };
25 25 }