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