mirror of
https://github.com/plankanban/planka.git
synced 2025-07-23 07:09:44 +02:00
parent
d80a538857
commit
51fa7df69c
61 changed files with 1063 additions and 191 deletions
|
@ -175,6 +175,14 @@ export default class extends Model {
|
|||
return this.lists.orderBy('position');
|
||||
}
|
||||
|
||||
getMembershipModel(userId) {
|
||||
return this.memberships
|
||||
.filter({
|
||||
userId,
|
||||
})
|
||||
.first();
|
||||
}
|
||||
|
||||
hasMemberUser(userId) {
|
||||
return this.memberships
|
||||
.filter({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue