mirror of
https://github.com/status-im/liquid-funding.git
synced 2025-01-11 12:04:21 +00:00
add query filter for pledges owned by project
This commit is contained in:
parent
5718523669
commit
cbf4c367cd
@ -228,7 +228,10 @@ export default withDatabase(withObservables([], ({ database, match }) => ({
|
||||
Q.where('event', 'DelegateAdded')
|
||||
).observe(),
|
||||
pledges: database.collections.get('pledges').query(
|
||||
Q.where('intended_project', match.params.id)
|
||||
Q.or(
|
||||
Q.where('intended_project', match.params.id),
|
||||
Q.where('owner_id', match.params.id)
|
||||
)
|
||||
).observe()
|
||||
}))(StyledPledges))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user