mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-03 19:03:15 +00:00
A site saved before the contacts list existed maps with no contacts, only the legacy contact/phone fields. The site-record sync read the contacts list alone, so the dialog blanked the POC, blocked a notes-only Save until the contact was retyped, and when the work order had no POC the legacy autofill made the diff report a contact edit nobody made. The legacy contact is now the site's main contact for display, baseline and request. Save sends the values it had when clicked, so the dialog's fields are now disabled while the site update is in flight instead of accepting edits that neither save would include. The site-update mutation already toasts its own failure, so it sets meta.suppressErrorToast and the global mutation toast no longer repeats it. |
||
|---|---|---|
| .. | ||
| api | ||
| mappers | ||
| schemas | ||
| types | ||
| use-cases | ||
| utils | ||