Change to single directional binding on new directives

This commit is contained in:
Joseph Schorr 2017-03-14 11:38:17 -04:00
parent 11a636021c
commit 129986c0f1
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ angular.module('quay').directive('labelInput', function () {
restrict: 'C', restrict: 'C',
replace: true, replace: true,
scope: { scope: {
'labels': '=labels', 'labels': '<labels',
'updatedLabels': '=?updatedLabels', 'updatedLabels': '=?updatedLabels',
}, },
controller: function($scope) { controller: function($scope) {

View file

@ -8,7 +8,7 @@ angular.module('quay').directive('labelList', function () {
replace: true, replace: true,
scope: { scope: {
expand: '@expand', expand: '@expand',
labels: '=labels' labels: '<labels'
}, },
controller: function($scope) {} controller: function($scope) {}
}; };

View file

@ -8,7 +8,7 @@ angular.module('quay').directive('labelView', function () {
replace: true, replace: true,
scope: { scope: {
expand: '@expand', expand: '@expand',
label: '=label' label: '<label'
}, },
controller: function($scope, $sanitize) { controller: function($scope, $sanitize) {
$scope.getKind = function(label) { $scope.getKind = function(label) {