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,6 +69,7 @@ class App
session.$promise.then (data) ->
angular.extend $scope.model, data
unless data.personas?.length
$scope.initUpdater()
# Update scope with auto-filled form field values
......
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