mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
[CORL-1090] Sections Alpha (#2973)
* feat: added section filtering support * fix: addressed issues around filtering sections * fix: fixed issue with section filter
This commit is contained in:
@@ -222,6 +222,8 @@ export default async function create(
|
||||
{
|
||||
...input,
|
||||
siteID: story.siteID,
|
||||
// Copy the current story section into the comment if it exists.
|
||||
section: story.metadata?.section,
|
||||
// Remap the tags to include the createdAt.
|
||||
tags: tags.map((tag) => ({ type: tag, createdAt: now })),
|
||||
body,
|
||||
|
||||
Reference in New Issue
Block a user