Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ajuvonen committed May 10, 2024
1 parent d2a65b7 commit edcab00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/ChartScreenReaderTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ defineProps<{
</tr>
</thead>
<tbody>
<tr v-if="rowHeaders" v-for="header, headerIndex in rowHeaders" :key="headerIndex">
<template v-if="rowHeaders">
<tr v-for="header, headerIndex in rowHeaders" :key="headerIndex">
<th>{{ header }}</th>
<td v-for="value, dataIndex in data[headerIndex]" :key="dataIndex">{{ value }}</td>
</tr>
</template>
<tr v-else>
<td v-for="value, index in data[0]" :key="index">{{ value }}</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion src/components/__tests__/charts.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {describe, it, expect, beforeEach, beforeAll} from 'vitest';
import {describe, it, expect, beforeEach} from 'vitest';
import {mount} from '@vue/test-utils';
import {v4 as uuid} from 'uuid';
import {useScheduleStore} from '@/stores/schedule';
Expand Down

0 comments on commit edcab00

Please sign in to comment.