SpeciesFileGroup/taxonworks

View on GitHub
app/javascript/vue/tasks/observation_matrices/matrix_row_coder/MatrixRowCoder/Navigation/NavigationMatrix.vue

Summary

Maintainability
Test Coverage
<template>
  <div class="flex-separate">
    <div class="horizontal-left-content">
      <span class="margin-medium-right">Matrix: <b><span v-html="matrixRow.observation_matrix.object_tag" /></b></span>
      <ul class="no_bullets context-menu">
        <li>
          <a :href="`/tasks/observation_matrices/new_matrix/${matrixRow.observation_matrix.id}`">
            Edit
          </a>
        </li>
        <li>
          <a :href="`/tasks/observation_matrices/view/${matrixRow.observation_matrix.id}`">
            View
          </a>
        </li>
      </ul>
    </div>
  </div>
</template>

<script setup>

defineProps({
  matrixRow: {
    type: Object,
    required: true
  }
})
</script>