Browse Source

fix: show "Most recent let type" qu for both needs types (#1418)

pull/1449/head
SamSeed-Softwire 2 years ago committed by GitHub
parent
commit
e66e27f6de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/models/form/lettings/pages/property_let_type.rb

2
app/models/form/lettings/pages/property_let_type.rb

@ -2,7 +2,7 @@ class Form::Lettings::Pages::PropertyLetType < ::Form::Page
def initialize(id, hsh, subsection) def initialize(id, hsh, subsection)
super super
@id = "property_let_type" @id = "property_let_type"
@depends_on = [{ "first_time_property_let_as_social_housing" => 0, "renewal" => 0, "needstype" => 1 }] @depends_on = [{ "first_time_property_let_as_social_housing" => 0, "renewal" => 0 }]
end end
def questions def questions

Loading…
Cancel
Save