Skip to content

Commit 3cf7b06

Browse files
committed
actually execute reloadCollections
1 parent 05b4856 commit 3cf7b06

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

public/collectionsBar/collectionsBarController.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ define(['app'], function (_app) {
5959
return scope.status = status;
6060
});
6161
scope.$on('collections.reload', function () {
62-
console.log('reload collections');
63-
scope.reloadCollections;
62+
return scope.reloadCollections();
6463
});
6564
scope.$on('current.collection', function (e, currentCollection) {
6665
scope.currentCollection = currentCollection;

src/src/collectionsBar/collectionsBarController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ angularModule.push((scope, http, interval, messageBroker) => {
3232

3333
scope.$on('collectionsbar.status', (e,status) => scope.status = status);
3434

35-
scope.$on('collections.reload', () => {console.log('reload collections'); scope.reloadCollections; });
35+
scope.$on('collections.reload', () => scope.reloadCollections());
3636

3737
scope.$on('current.collection', (e, currentCollection) => { scope.currentCollection = currentCollection; scope.setCurrentCollection();});
3838

0 commit comments

Comments
 (0)