diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 495e4e1b0..6a39f3158 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -2686,6 +2686,8 @@ angular.module('syncthing.core') if (closed) { resetRestoreVersions(); return; + } else if ($scope.sizeOf($scope.restoreVersions.versions) === '0') { + return; } $scope.restoreVersions.tree = $("#restoreTree").fancytree({ @@ -2702,7 +2704,7 @@ angular.module('syncthing.core') indentation: 24, }, strings: { - loading: $translate.instant("Loading..."), + loading: $translate.instant("Loading data..."), loadError: $translate.instant("Failed to load file versions."), noData: $translate.instant("There are no file versions to restore.") }, diff --git a/gui/default/syncthing/folder/restoreVersionsModalView.html b/gui/default/syncthing/folder/restoreVersionsModalView.html index f9f4da92d..bde8e49a6 100644 --- a/gui/default/syncthing/folder/restoreVersionsModalView.html +++ b/gui/default/syncthing/folder/restoreVersionsModalView.html @@ -1,12 +1,14 @@