We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5f2807 commit 8a0e42cCopy full SHA for 8a0e42c
packages/endpoint-posts/lib/middleware/post-data.js
@@ -23,10 +23,6 @@ export const postData = {
23
// Only select ‘checked’ syndication targets on first view
24
const checkTargets = Object.entries(request.body).length === 0;
25
26
- // Only show advanced options if one of those fields has been updated
27
- const showAdvancedOptions =
28
- properties.category || properties.location || properties.visibility;
29
-
30
response.locals = {
31
accessToken: access_token,
32
action: "create",
@@ -36,7 +32,7 @@ export const postData = {
36
postType,
37
33
properties,
38
34
scope,
39
- showAdvancedOptions,
35
+ showAdvancedOptions: false,
40
syndicationTargetItems: getSyndicateToItems(publication, checkTargets),
41
type: h,
42
...response.locals,
0 commit comments