Fix reloading object editor clears list (issues/4156)

This commit is contained in:
Lukas Olson 2015-06-10 07:53:52 -07:00
parent c5e159e1d7
commit cf4c185330

View file

@ -46,6 +46,10 @@ define(function (require) {
});
};
$scope.$watch('state.tab', function (tab) {
if (!tab) $scope.changeTab($scope.services[0]);
});
$scope.toggleAll = function () {
if ($scope.selectedItems.length === $scope.currentTab.data.length) {
$scope.selectedItems.length = 0;