diff --git a/src/views/ScoresheetMarks.vue b/src/views/ScoresheetMarks.vue index 6b4ce21..4231110 100644 --- a/src/views/ScoresheetMarks.vue +++ b/src/views/ScoresheetMarks.vue @@ -14,7 +14,7 @@ function goBack () { } onMounted(async () => { - await scsh.open(route.params.system as string, ...route.params.vendor) + await scsh.open(route.params.system as string, ...route.params.vendor as string[]) }) watch(() => route.params, async (next, prev) => { @@ -28,7 +28,7 @@ watch(() => route.params, async (next, prev) => { } if (next.system && next.vendor) { await scsh.close() - await scsh.open(next.system as string, ...next.vendor) + await scsh.open(next.system as string, ...next.vendor as string[]) } }) diff --git a/src/views/ScoresheetsList.vue b/src/views/ScoresheetsList.vue index 190b52d..984c954 100644 --- a/src/views/ScoresheetsList.vue +++ b/src/views/ScoresheetsList.vue @@ -2,7 +2,7 @@ import { computedAsync } from '@vueuse/core' import ScoreButton from '../components/ScoreButton.vue' import { useRouter } from 'vue-router' -import { listScoresheets, isServoIntermediateScoresheet, isRemoteTallyScoresheet, isRemoteMarkScoresheet, type Scoresheet } from '../hooks/scoresheet' +import { listScoresheets, isServoIntermediateScoresheet, isRemoteTallyScoresheet, isRemoteMarkScoresheet, type Scoresheet, type LocalScoresheet } from '../hooks/scoresheet' import { formatDate } from '../helpers' import JournalTally from '../components/JournalTally.vue' @@ -82,7 +82,7 @@ function scoresheetLink (scoresheet: Scoresheet) { Judge Type: {{ scoresheet.judgeType }} - +