mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
Fixed bug that I introduced that was preventing permissions from being added
This commit is contained in:
parent
d5247c6d95
commit
f557d9cb71
@ -21,7 +21,7 @@ export default
|
||||
});
|
||||
});
|
||||
// Remove the clone from the dom
|
||||
$breadcrumbClone.remove();console.log(availableWidth);
|
||||
$breadcrumbClone.remove();
|
||||
if(expandedBreadcrumbWidth > availableWidth) {
|
||||
let widthToTrim = expandedBreadcrumbWidth - availableWidth;
|
||||
// Sort the crumbs from biggest to smallest
|
||||
|
||||
@ -30,13 +30,12 @@ export default
|
||||
item: '=item'
|
||||
},
|
||||
require: '^multiSelectList',
|
||||
template: '<input type="checkbox" data-multi-select-list-item ng-model="isSelected" ng-change="userInteractionSelect()">',
|
||||
template: '<input type="checkbox" data-multi-select-list-item ng-model="item.isSelected" ng-change="userInteractionSelect()">',
|
||||
link: function(scope, element, attrs, multiSelectList) {
|
||||
|
||||
scope.decoratedItem = multiSelectList.registerItem(scope.item);
|
||||
scope.isSelected = scope.decoratedItem.isSelected ? true : false;
|
||||
|
||||
scope.$watch('isSelected', function(value) {
|
||||
scope.$watch('item.isSelected', function(value) {
|
||||
if (value === true) {
|
||||
multiSelectList.selectItem(scope.decoratedItem);
|
||||
} else if (value === false) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user