hotfixed grunt build

This commit is contained in:
David Baldwynn 2015-11-12 19:31:02 -08:00
parent 4813df0eda
commit e0897486f6
3 changed files with 4 additions and 4 deletions

View file

@ -699,7 +699,7 @@ angular.module('forms').controller('SubmitFormController', ['$scope', '$rootScop
if(!$scope.myform.isLive){
// Show navbar if form is not public AND user IS loggedin
if($scope.authentication.isAuthenticated() && $scope._currentUser._id === $scope.myform.admin._id){
if($scope.authentication.isAuthenticated()){
$scope.hideNav = $rootScope.hideNav = false;
}
// Redirect if form is not public user IS NOT loggedin

File diff suppressed because one or more lines are too long

View file

@ -8,7 +8,7 @@ angular.module('forms').controller('SubmitFormController', ['$scope', '$rootScop
if(!$scope.myform.isLive){
// Show navbar if form is not public AND user IS loggedin
if($scope.authentication.isAuthenticated() && $scope._currentUser._id === $scope.myform.admin._id){
if($scope.authentication.isAuthenticated()){
$scope.hideNav = $rootScope.hideNav = false;
}
// Redirect if form is not public user IS NOT loggedin