Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/app/subscription/directive/subscribe.js b/src/app/subscription/directive/subscribe.js
- index e47372a..7b8b9e1 100644
- --- a/src/app/subscription/directive/subscribe.js
- +++ b/src/app/subscription/directive/subscribe.js
- @@ -28,7 +28,8 @@ angular.module('sb.util').directive('subscribe',
- restrict: 'E',
- scope: {
- resource: '@',
- - resourceId: '='
- + resourceId: '=',
- + resourceSubscriptions: '='
- },
- templateUrl: 'app/subscription/template/subscribe.html',
- link: function ($scope) {
- diff --git a/src/app/search/template/project_search_item.html b/src/app/search/template/project_search_item.html
- index 128c686..19215f5 100644
- --- a/src/app/search/template/project_search_item.html
- +++ b/src/app/search/template/project_search_item.html
- @@ -25,6 +25,7 @@
- <small ng-show="isLoggedIn">
- <subscribe class="pull-right"
- resource="project"
- - resource-id="project.id"></subscribe>
- + resource-id="project.id"
- + resourceSubscriptions="subsList"></subscribe>
- </small>
- </td>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement