diff --git a/assets/javascripts/discourse/components/wizard-custom-action.js.es6 b/assets/javascripts/discourse/components/wizard-custom-action.js.es6 index 8fcca367..dbfa4e93 100644 --- a/assets/javascripts/discourse/components/wizard-custom-action.js.es6 +++ b/assets/javascripts/discourse/components/wizard-custom-action.js.es6 @@ -29,7 +29,7 @@ export default Component.extend(UndoChanges, { hasCustomFields: or('basicTopicFields', 'updateProfile', 'createGroup', 'createCategory'), basicTopicFields: or('createTopic', 'sendMessage', 'openComposer'), publicTopicFields: or('createTopic', 'openComposer'), - showSkipRedirect: or('createTopic', 'sendMessage'), + showPostAdvanced: or('createTopic', 'sendMessage'), actionTypes: Object.keys(wizardSchema.action.types).map(type => { return { id: type, diff --git a/assets/javascripts/discourse/lib/wizard-schema.js.es6 b/assets/javascripts/discourse/lib/wizard-schema.js.es6 index 840b84a5..7d34a79d 100644 --- a/assets/javascripts/discourse/lib/wizard-schema.js.es6 +++ b/assets/javascripts/discourse/lib/wizard-schema.js.es6 @@ -117,7 +117,8 @@ const action = { tags: null, visible: null, custom_fields: null, - skip_redirect: null + skip_redirect: null, + suppress_notifications: null, }, send_message: { title: null, @@ -127,7 +128,8 @@ const action = { skip_redirect: null, custom_fields: null, required: null, - recipient: null + recipient: null, + suppress_notifications: null }, open_composer: { title: null, @@ -218,6 +220,7 @@ const action = { 'code', 'custom_fields', 'skip_redirect', + 'suppress_notifications', 'required' ], required: [ diff --git a/assets/javascripts/discourse/templates/components/wizard-custom-action.hbs b/assets/javascripts/discourse/templates/components/wizard-custom-action.hbs index 272c3155..682f179b 100644 --- a/assets/javascripts/discourse/templates/components/wizard-custom-action.hbs +++ b/assets/javascripts/discourse/templates/components/wizard-custom-action.hbs @@ -761,7 +761,7 @@ {{/if}} - {{#if showSkipRedirect}} + {{#if showPostAdvanced}}