mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
Show only boards in which the user participate in the home page grid
Fixes #218
This commit is contained in:
1 parent
dd08485b36
commit
bd331122b8
2 files changed
+5
-1
No files matched your search
@@ -4,7 +4,10 @@ BlazeComponent.extendComponent({
|
||||
},
|
||||
|
||||
boards: function() {
|
||||
return Boards.find({ archived: false }, {
|
||||
return Boards.find({
|
||||
archived: false,
|
||||
'members.userId': Meteor.userId()
|
||||
}, {
|
||||
sort: ['title']
|
||||
});
|
||||
},
|
||||
|
||||
@@ -26,6 +26,7 @@ Meteor.publish('boards', function() {
|
||||
slug: 1,
|
||||
title: 1,
|
||||
color: 1,
|
||||
members: 1,
|
||||
permission: 1
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user