SpeciesFileGroup/taxonworks

View on GitHub
app/javascript/vue/tasks/observation_matrices/image/store/mutations/removeOtuDepiction.js

Summary

Maintainability
A
0 mins
Test Coverage
export default (state, { rowIndex, index }) => {
  const depictions = state.observationRows[rowIndex].objectDepictions

  if (index > -1) {
    depictions.splice(index, 1)
  }
}