hotfixed grunt build
This commit is contained in:
parent
4813df0eda
commit
e0897486f6
2
public/dist/application.js
vendored
2
public/dist/application.js
vendored
|
@ -699,7 +699,7 @@ angular.module('forms').controller('SubmitFormController', ['$scope', '$rootScop
|
||||||
|
|
||||||
if(!$scope.myform.isLive){
|
if(!$scope.myform.isLive){
|
||||||
// Show navbar if form is not public AND user IS loggedin
|
// 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;
|
$scope.hideNav = $rootScope.hideNav = false;
|
||||||
}
|
}
|
||||||
// Redirect if form is not public user IS NOT loggedin
|
// Redirect if form is not public user IS NOT loggedin
|
||||||
|
|
4
public/dist/application.min.js
vendored
4
public/dist/application.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -8,7 +8,7 @@ angular.module('forms').controller('SubmitFormController', ['$scope', '$rootScop
|
||||||
|
|
||||||
if(!$scope.myform.isLive){
|
if(!$scope.myform.isLive){
|
||||||
// Show navbar if form is not public AND user IS loggedin
|
// 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;
|
$scope.hideNav = $rootScope.hideNav = false;
|
||||||
}
|
}
|
||||||
// Redirect if form is not public user IS NOT loggedin
|
// Redirect if form is not public user IS NOT loggedin
|
||||||
|
|
Loading…
Reference in a new issue