paperos-labs / feedback

Just a bug and ideas board
0 stars 0 forks source link

report table property saving incorrectly #227

Closed SHRoberts91 closed 2 years ago

SHRoberts91 commented 2 years ago

What URL?

https://staging.admin.savvi.legal/#/FeatureList?filter=employee_summary_info

What were you trying to do? What broke?

document feature types for reports tables are passing the property new_required and it's always 1 no matter what they select in the admin portal, where other feature types are passing new_require and are true and false based on what is selected on the admin portal. ...

Screenshot (whole screen, circle relevant area)

Screen Shot 2022-04-26 at 12 01 07 PM

...

How do we Reproduce it?

  1. Log into the admin portal and go to the url I gave.
  2. Scroll down to Task and expand the employee_summary_info default question
  3. In the Feature Type section there's three document feature types, employee_offer_letter, non_compete, & piia
  4. None of them have New Required check box selected
  5. On the Reports View for the app, we hit an endpoint, /api/company_info/all
  6. Every document feature type sends back a new_required: 1, where other feature types are sending back new_require and true or false depending on the admin portal selection.