gui: Populate global changes on load
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3848
This commit is contained in:
parent
eb14f85a57
commit
8daaa5d0d2
@ -92,6 +92,7 @@ angular.module('syncthing.core')
|
|||||||
refreshConnectionStats();
|
refreshConnectionStats();
|
||||||
refreshDeviceStats();
|
refreshDeviceStats();
|
||||||
refreshFolderStats();
|
refreshFolderStats();
|
||||||
|
refreshGlobalChanges();
|
||||||
refreshThemes();
|
refreshThemes();
|
||||||
|
|
||||||
$http.get(urlbase + '/system/version').success(function (data) {
|
$http.get(urlbase + '/system/version').success(function (data) {
|
||||||
@ -624,7 +625,7 @@ angular.module('syncthing.core')
|
|||||||
}, 2500);
|
}, 2500);
|
||||||
|
|
||||||
var refreshGlobalChanges = debounce(function () {
|
var refreshGlobalChanges = debounce(function () {
|
||||||
$http.get(urlbase + "/events/disk?limit=15").success(function (data) {
|
$http.get(urlbase + "/events/disk?limit=25").success(function (data) {
|
||||||
data = data.reverse();
|
data = data.reverse();
|
||||||
$scope.globalChangeEvents = data;
|
$scope.globalChangeEvents = data;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user