1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-17 17:45:03 +02:00

11 lines
347 B
JavaScript
Raw Normal View History

2014-07-09 22:24:06 -07:00
'use strict';
angular.module('app').controller("SyncController", function($scope, $http, $interval, $location, users) {
var stop = $interval(function() {
2014-07-13 20:24:03 -07:00
// todo(bradrydzewski) We should poll the user to see if the
// sync process is complete, using the user.syncing variable.
$interval.cancel(stop);
2014-07-09 22:24:06 -07:00
$location.path("/");
}, 5000);
});