diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-08-28 02:21:42 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-08-28 02:25:26 +0200 |
commit | b5dabfe88695a8f8211b29fea0dc16131c9a1829 (patch) | |
tree | b257eddd507f0980a32e7c2c5932b866401a9b15 /client/components/boards/boardList.js | |
parent | 29e93162c2eb5b86b1afb3328748eb3b32b47b94 (diff) | |
download | wekan-b5dabfe88695a8f8211b29fea0dc16131c9a1829.tar.gz wekan-b5dabfe88695a8f8211b29fea0dc16131c9a1829.tar.bz2 wekan-b5dabfe88695a8f8211b29fea0dc16131c9a1829.zip |
More explicit file names
Diffstat (limited to 'client/components/boards/boardList.js')
-rw-r--r-- | client/components/boards/boardList.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/client/components/boards/boardList.js b/client/components/boards/boardList.js deleted file mode 100644 index 2311e7d0..00000000 --- a/client/components/boards/boardList.js +++ /dev/null @@ -1,30 +0,0 @@ -BlazeComponent.extendComponent({ - template: function() { - return 'boardList'; - }, - - boards: function() { - return Boards.find({ - archived: false, - 'members.userId': Meteor.userId() - }, { - sort: ['title'] - }); - }, - - isStarred: function() { - var user = Meteor.user(); - return user && user.hasStarred(this.currentData()._id); - }, - - events: function() { - return [{ - 'click .js-add-board': Popup.open('createBoard'), - 'click .js-star-board': function(evt) { - var boardId = this.currentData()._id; - Meteor.user().toggleBoardStar(boardId); - evt.preventDefault(); - } - }]; - } -}).register('boardList'); |