diff --git a/apps/server/src/database/repos/base/base.repo.ts b/apps/server/src/database/repos/base/base.repo.ts index fe11375f1..8a987521b 100644 --- a/apps/server/src/database/repos/base/base.repo.ts +++ b/apps/server/src/database/repos/base/base.repo.ts @@ -143,6 +143,7 @@ export class BaseRepo { .selectFrom('baseProperties') .selectAll('baseProperties') .whereRef('baseProperties.baseId', '=', 'bases.id') + .where('baseProperties.deletedAt', 'is', null) .orderBy('baseProperties.position', 'asc'), ).as('properties'); }