feat: switched to new org invitation modal for sub organizations

This commit is contained in:
=
2025-10-21 14:49:30 +05:30
parent a7d337f97a
commit 4afe1034bd
6 changed files with 301 additions and 6 deletions
@@ -657,7 +657,7 @@ export const identityOrgDALFactory = (db: TDbClient) => {
tx?: Knex
) => {
try {
const query = (tx || db.replicaNode())(TableName.Identity)
const query = (tx || db.replicaNode())(TableName.Membership)
.where(`${TableName.Membership}.scope`, AccessScope.Organization)
.whereNotNull(`${TableName.Membership}.actorIdentityId`)
.where(filter)