0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00

DEV: remove next condition

Dieser Commit ist enthalten in:
jumagura 2023-10-02 22:25:20 -04:00
Ursprung 1d2f75951f
Commit 779912332a

Datei anzeigen

@ -238,7 +238,6 @@ after_initialize do
DiscourseEvent.trigger(:custom_wizard_ready) DiscourseEvent.trigger(:custom_wizard_ready)
on(:before_create_topic) do |topic_params, user| on(:before_create_topic) do |topic_params, user|
next if topic_params[:archetype] == 'message'
category = topic_params.category category = topic_params.category
wizard_submission_id = topic_params.custom_fields['wizard_submission_id'] wizard_submission_id = topic_params.custom_fields['wizard_submission_id']