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',
replace: true,
scope: {
'labels': '=labels',
'labels': '<labels',
'updatedLabels': '=?updatedLabels',
},
controller: function($scope) {

View file

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

View file

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