mirror of
https://github.com/documenso/documenso.git
synced 2026-06-22 04:12:06 +10:00
fix: exclude rejected documents from inbox count (#2893)
This commit is contained in:
committed by
GitHub
parent
583e35c768
commit
5f4e0ccf6b
@@ -22,7 +22,7 @@ export const getInboxCountRoute = authenticatedProcedure
|
|||||||
envelope: {
|
envelope: {
|
||||||
type: EnvelopeType.DOCUMENT,
|
type: EnvelopeType.DOCUMENT,
|
||||||
status: {
|
status: {
|
||||||
not: DocumentStatus.DRAFT,
|
notIn: [DocumentStatus.DRAFT, DocumentStatus.REJECTED],
|
||||||
},
|
},
|
||||||
deletedAt: null,
|
deletedAt: null,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user