fix: posts without topic
This commit is contained in:
parent
548a6dcf4e
commit
80a39e7489
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@
|
|||
content: e.target.content.value,
|
||||
community: !is_selected_stack ? selected_community : \"0\",
|
||||
stack: is_selected_stack ? selected_community : \"0\",
|
||||
topic: e.target.topic.selectedOptions[0].value,
|
||||
topic: (e.target.topic || { selectedOptions: [{ value: \"0\" }] }).selectedOptions[0].value,
|
||||
poll: poll_data[1],
|
||||
title: e.target.title.value,
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue