Skip to content

Commit

Permalink
Merge branch 'main' into scripts/enrich
Browse files Browse the repository at this point in the history
  • Loading branch information
skwowet authored Jul 13, 2023
2 parents 8bbe3fb + 8b2f03f commit 3284d76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions backend/src/database/repositories/segmentRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ class SegmentRepository extends RepositoryBase<
}

if (criteria.filter?.parentSlug) {
searchQuery += ` AND s."parentSlug" ilike :parent_slug `
searchQuery += ` AND s."parentSlug" = :parent_slug `
}

const projects = await this.options.database.sequelize.query(
Expand Down Expand Up @@ -560,11 +560,11 @@ class SegmentRepository extends RepositoryBase<
}

if (criteria.filter?.parentSlug) {
searchQuery += ` AND s."parentSlug" ilike :parent_slug `
searchQuery += ` AND s."parentSlug" = :parent_slug `
}

if (criteria.filter?.grandparentSlug) {
searchQuery += ` AND s."grandparentSlug" ilike :grandparent_slug `
searchQuery += ` AND s."grandparentSlug" = :grandparent_slug `
}

const subprojects = await this.options.database.sequelize.query(
Expand Down
1 change: 1 addition & 0 deletions backend/src/services/auth/authService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ class AuthService {
{
provider,
providerId,
emailVerified: true,
},
options,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
</a>
</div>
<a
v-for="email of member.emails?.filter((e) => e.length)"
v-for="email of member.emails?.filter((e) => e && e.length)"
:key="email"
:href="`mailto:${email}`"
class="pb-2 pt-3 flex items-center text-gray-900"
Expand Down

0 comments on commit 3284d76

Please sign in to comment.