Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
Update wizard.rb
Dieser Commit ist enthalten in:
Ursprung
75e262a526
Commit
7c8f530c86
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -335,7 +335,7 @@ class CustomWizard::Wizard
|
||||||
|
|
||||||
CustomWizard::Template.list(**template_opts).reduce([]) do |result, template|
|
CustomWizard::Template.list(**template_opts).reduce([]) do |result, template|
|
||||||
wizard = new(template, user)
|
wizard = new(template, user)
|
||||||
result.push(wizard) if wizard.can_access? && (
|
result.push(wizard) if wizard.permitted? && (
|
||||||
!not_completed || !wizard.completed?
|
!not_completed || !wizard.completed?
|
||||||
)
|
)
|
||||||
result
|
result
|
||||||
|
|
Laden …
In neuem Issue referenzieren