SpeciesFileGroup/taxonworks

View on GitHub
app/javascript/vue/tasks/observation_matrices/matrix_row_coder/store/mutations/removeObservation.js

Summary

Maintainability
A
1 hr
Test Coverage
export default (state, observationId) => {
  const index = state.observations.findIndex(o => o.id === observationId)

  state.observations.splice(index, 1)
}