oss-wec / wisdm

Wildlife information system for data management
1 stars 1 forks source link

Encounter: re-encounter button #30

Closed kissmygritts closed 7 years ago

kissmygritts commented 7 years ago

If an animal is a re-encounter (recapture), enter the animals NDOW ID in the field then click recapture. Clicking re-encounter will

  1. mark the animal as a re-encounter (re-encounter = true)
  2. auto-fill marks and devices with previous encounter data
kissmygritts commented 7 years ago

I'm debating how I want to do this. Should I call the API in the component, manipulate the data then call an action that will mutate the state (marks and devices)?

If no data is found, call a toast component?