Commit 51253718ad64b3e91ec482c48adda442f92e54f1
Exists in
master
Merge branch 'master' into 'master'
Master (pmarco) See merge request modulos-npm/foca-botonera-principal!8
Showing
1 changed file
Show diff stats
src/js/controller.js
| ... | ... | @@ -3,7 +3,7 @@ angular.module('focaBotoneraPrincipal') |
| 3 | 3 | '$scope', '$location', '$cookies', 'botones', 'focaModalService', 'APP', |
| 4 | 4 | function($scope, $location, $cookies, botones, focaModalService, APP) { |
| 5 | 5 | $scope.paginas = []; |
| 6 | - if(APP !== '') { | |
| 6 | + if(APP === 'distribuidor') { | |
| 7 | 7 | $scope.paginas.push(botones.data.slice(0, 3)); |
| 8 | 8 | $scope.paginas.push(botones.data.slice(3, 6)); |
| 9 | 9 | } else { |