Skip to content

Commit 4a0177c

Browse files
committed
Fix Notification Drawer
1 parent 79cab86 commit 4a0177c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

client/app/core/navigation/navigation-controller.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
import heading from '../../components/notifications/heading.html';
2+
import notificationBody from '../../components/notifications/notification-body.html';
3+
import notificationFooter from '../../components/notifications/notification-footer.html';
4+
15
/** @ngInject */
26
export function NavigationController (Text, Navigation, Session, API_BASE, ShoppingCart, $scope, $uibModal, $state, EventNotifications, ApplianceInfo, CollectionsApi, RBAC, Language, lodash, $rootScope, sprintf) {
37
const vm = this
@@ -252,7 +256,7 @@ export function NavigationController (Text, Navigation, Session, API_BASE, Shopp
252256

253257
/** @ngInject */
254258
export const navigationInit = function($templateCache) {
255-
$templateCache.put('notifications/heading.html', require('../../components/notifications/heading.html'));
256-
$templateCache.put('notifications/notification-body.html', require('../../components/notifications/notification-body.html'));
257-
$templateCache.put('notifications/notification-footer.html', require('../../components/notifications/notification-footer.html'));
259+
$templateCache.put('notifications/heading.html', heading);
260+
$templateCache.put('notifications/notification-body.html', notificationBody);
261+
$templateCache.put('notifications/notification-footer.html', notificationFooter);
258262
};

0 commit comments

Comments
 (0)