We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 890bf75 + c090119 commit da06390Copy full SHA for da06390
src/containers/write/MarkdownEditorContainer.tsx
@@ -60,6 +60,7 @@ const MarkdownEditorContainer: React.FC<MarkdownEditorContainerProps> = () => {
60
initialTitle,
61
tags,
62
isPrivate,
63
+ selectedSeries,
64
} = useSelector((state: RootState) => state.write);
65
const uncachedClient = useUncachedApolloClient();
66
const [writePost, { loading: isWritePostLoading }] =
@@ -199,7 +200,7 @@ const MarkdownEditorContainer: React.FC<MarkdownEditorContainerProps> = () => {
199
200
url_slug: escapeForUrl(title),
201
thumbnail: null,
202
meta: {},
- series_id: null,
203
+ series_id: selectedSeries?.id || null,
204
205
token: null,
206
},
0 commit comments