Skip to content

Commit 7c56ac9

Browse files
Merge pull request #121 from AllenBW/bugfix_notification_service
pfnotification service does not make data available to html template
2 parents 36ace7f + d99eaf3 commit 7c56ac9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/notification/notification.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,11 @@ angular.module( 'patternfly.notification' ).directive('pfNotificationList', func
325325

326326
return {
327327
restrict: 'E',
328+
controller: NotificationListController,
328329
templateUrl: 'notification/notification-list.html'
329330
};
331+
332+
function NotificationListController ($scope, $rootScope) {
333+
$scope.notifications = $rootScope.notifications;
334+
}
330335
});

0 commit comments

Comments
 (0)