SpeciesFileGroup/taxonworks

View on GitHub
app/javascript/vue/tasks/observation_matrices/matrix_row_coder/store/helpers/transformNoteForViewmodel.js

Summary

Maintainability
A
0 mins
Test Coverage
export default function transformNoteForViewmodel (note) {
  return {
    text: note.text,
    noteIsFor: note.note_object_id,
    noteIsForA: note.note_object_type
  }
}