Don't show unlisted contracts in closing soon
This commit is contained in:
parent
e6dbcbc4fd
commit
142feaffff
|
@ -162,6 +162,7 @@ export async function getHotContracts() {
|
||||||
const closingSoonQuery = query(
|
const closingSoonQuery = query(
|
||||||
contractCollection,
|
contractCollection,
|
||||||
where('isResolved', '==', false),
|
where('isResolved', '==', false),
|
||||||
|
where('visibility', '==', 'public'),
|
||||||
where('closeTime', '>', Date.now()),
|
where('closeTime', '>', Date.now()),
|
||||||
orderBy('closeTime', 'asc'),
|
orderBy('closeTime', 'asc'),
|
||||||
limit(6)
|
limit(6)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user