mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fixing JS spec failure
This commit is contained in:
committed by
Rob Harrington
parent
78563a7d75
commit
311f72e4cb
@@ -39,7 +39,8 @@ angular.module("admin.enterprises")
|
||||
if manager.id?
|
||||
for i, user of $scope.Enterprise.users when user.id == manager.id
|
||||
$scope.Enterprise.users.splice i, 1
|
||||
$scope.enterprise_form.$dirty = true
|
||||
if typeof($scope.enterprise_form) != 'undefined'
|
||||
$scope.enterprise_form.$setDirty()
|
||||
|
||||
$scope.addManager = (manager) ->
|
||||
if manager.id? and manager.email?
|
||||
|
||||
Reference in New Issue
Block a user