Skip to content

Commit 64ced62

Browse files
committed
Fixed bug where Jump In modal won't close when joining new group
1 parent b62c399 commit 64ced62

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## Unreleased
8-
- changed post title length from 50 to 80
8+
9+
## [5.7.1] - 2024-02-14
10+
11+
## Changed
12+
- Maximum post title length increased from 50 characters to 80 characters
13+
14+
### Fixed
15+
- Stuck on Jump In modal when trying to join a group that doesn't have join questions set
916

1017
## [5.7.0] - 2024-02-05
1118

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hylo-evo",
33
"description": "Hylo Frontend",
4-
"version": "5.7.0",
4+
"version": "5.7.1",
55
"private": true,
66
"engines": {
77
"node": "16.13.2",

src/routes/GroupWelcomeModal/GroupWelcomeModal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export default function GroupWelcomeModal (props) {
100100
group.id,
101101
{ joinQuestionsAnsweredAt: new Date(), showJoinForm: false },
102102
true,
103-
questionAnswers.map(q => ({ questionId: q.questionId, answer: q.answer }))
103+
questionAnswers ? questionAnswers.map(q => ({ questionId: q.questionId, answer: q.answer })) : []
104104
))
105105
return null
106106
}

0 commit comments

Comments
 (0)