mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #5177 from overleaf/jpa-handle-nested-api-responses
[web] hydrate-form: handle nested messages with nested text field GitOrigin-RevId: 7f28a58ed59bc7a46f00edfd553adcc9d6333daa
This commit is contained in:
parent
f06f1e2b96
commit
614565b3a2
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ function formSubmitHelper(formEl) {
|
|||
if (data.message) {
|
||||
messageBag.push({
|
||||
type: 'message',
|
||||
text: data.message,
|
||||
text: data.message.text || data.message,
|
||||
})
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in a new issue