1
0
Fork 0

Update wizard.rb

Dieser Commit ist enthalten in:
Angus McLeod 2023-02-09 12:33:55 +01:00
Ursprung 75e262a526
Commit 7c8f530c86

Datei anzeigen

@ -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