Skip to content

Commit

Permalink
Update AnalysisView.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
inthar-raven authored Nov 27, 2023
1 parent 4de719b commit 5b786e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/AnalysisView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ const matrix = computed(() => {
<tr>
<th></th>
<th v-for="i of Math.min(scale.size, MAX_SCALE_SIZE)" :key="i">
{{ i - (indexing.value === "indexing-one" ? 0 : 1) }}
{{ i - (indexing.value === "one" ? 0 : 1) }}
</th>
<th>({{ scale.size + (indexing.value === "indexing-one" ? 1 : 0) }})</th>
<th>({{ scale.size + (indexing.value === "one" ? 1 : 0) }})</th>
</tr>
<tr v-for="(row, i) of matrix" :key="i">
<th>{{ formatMatrixCell(scale.getInterval(i)) }}</th>
Expand Down Expand Up @@ -149,7 +149,7 @@ const matrix = computed(() => {
<input
type="radio"
id="indexing-zero"
value="best"
value="zero"
v-model="indexing"
/>
<label for="format-best"> 0-indexing (default) </label>
Expand All @@ -159,7 +159,7 @@ const matrix = computed(() => {
<input
type="radio"
id="indexing-one"
value="decimal"
value="one"
v-model="indexing"
/>
<label for="format-decimal"> 1-indexing </label>
Expand Down

0 comments on commit 5b786e8

Please sign in to comment.