Aftr user edits a group, update the sync related icons based on whether or not user added sync source or removed sync source. This allows a sync to be started immediately (or prevents starting one) without having to first click the refresh button.

This commit is contained in:
Chris Houseknecht
2014-02-06 17:05:22 -05:00
parent 9807477944
commit c55d3e935b
4 changed files with 60 additions and 36 deletions
+2 -1
View File
@@ -827,7 +827,8 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', '
properties: {
name: scope.name,
description: scope.description,
has_inventory_sources: (scope.source) ? true : false
has_inventory_sources: (scope.source && scope.source.value) ? true : false,
source: (scope.source && scope.source.value) ? scope.source.value : ''
}
});
}