Commit e1fdf324 authored by Randall Leeds's avatar Randall Leeds

Avoid updater double initialization

Don't initialize the updater twice when logged in.

When the session is first loaded, only initialize the updater if there
are no logged in users in the session. If there are, the updater will
be initialized by the watcher.

Fix #1307
parent d70572b4
...@@ -69,7 +69,8 @@ class App ...@@ -69,7 +69,8 @@ class App
session.$promise.then (data) -> session.$promise.then (data) ->
angular.extend $scope.model, data angular.extend $scope.model, data
$scope.initUpdater() unless data.personas?.length
$scope.initUpdater()
# Update scope with auto-filled form field values # Update scope with auto-filled form field values
$timeout -> $timeout ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment