Skip to content

Commit aebe3c3

Browse files
author
Bogdan Tsechoev
committed
Merge branch 'hotfix-user-profile' into 'master'
hotfix: fixed data parsing received from the API in response to a profile update See merge request postgres-ai/database-lab!964
2 parents 43fc0ef + f17ef0f commit aebe3c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/packages/platform/src/actions/actions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Actions.updateUserProfile.listen(function (token, data) {
284284
result.json()
285285
.then(json => {
286286
if (json) {
287-
action.completed({ data: json?.result });
287+
action.completed({ data: json });
288288
} else {
289289
action.failed(new Error('wrong_reply'));
290290
}

ui/packages/platform/src/pages/Profile/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class Profile extends Component {
180180
}
181181
/>
182182
}
183-
label="Notify about new messages in the AI Assistant"
183+
label="Send an email notification if a new message from AI Assistant remains unread for more than one minute"
184184
/>
185185
</Grid>
186186
<Grid

0 commit comments

Comments
 (0)