0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-24 02:10:29 +01:00
Angus McLeod 2024-07-01 10:25:56 +02:00
Ursprung e20b7ba11d
Commit 5deff6c640
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -119,7 +119,7 @@ class CustomWizard::Action
params[:target_group_names] = [] params[:target_group_names] = []
params[:target_usernames] = [] params[:target_usernames] = []
targets.each do |target| [*targets].each do |target|
if Group.find_by(name: target) if Group.find_by(name: target)
params[:target_group_names] << target params[:target_group_names] << target
elsif User.find_by_username(target) elsif User.find_by_username(target)

Datei anzeigen

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
# name: discourse-custom-wizard # name: discourse-custom-wizard
# about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. # about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more.
# version: 2.7.0 # version: 2.7.1
# authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos
# url: https://github.com/paviliondev/discourse-custom-wizard # url: https://github.com/paviliondev/discourse-custom-wizard
# contact_emails: development@pavilion.tech # contact_emails: development@pavilion.tech