Fixed npm typecheck error.
Build and Test App / Build-and-test-App (push) Successful in 34s Details

This commit is contained in:
Andrew Lalis 2025-09-19 11:01:16 -04:00
parent 38b34c0598
commit 6681527b21
2 changed files with 8 additions and 4 deletions

View File

@ -136,7 +136,7 @@ function resetScoreParameters() {
<EntriesTable :classId="cls.id" :disabled="archived" ref="entries-table" /> <EntriesTable :classId="cls.id" :disabled="archived" ref="entries-table" />
<div v-if="entriesTable?.selectedView !== 'Whiteboard'"> <div v-if="!entriesTable?.isWhiteboardView()">
<h3 style="margin-bottom: 0.25em;">Notes</h3> <h3 style="margin-bottom: 0.25em;">Notes</h3>
<form @submit.prevent="submitNote"> <form @submit.prevent="submitNote">
<textarea style="min-height: 50px; min-width: 300px;" maxlength="2000" minlength="1" v-model="noteContent" <textarea style="min-height: 50px; min-width: 300px;" maxlength="2000" minlength="1" v-model="noteContent"
@ -146,7 +146,7 @@ function resetScoreParameters() {
<ClassNoteItem v-for="note in notes" :key="note.id" :note="note" @noteDeleted="refreshNotes()" /> <ClassNoteItem v-for="note in notes" :key="note.id" :note="note" @noteDeleted="refreshNotes()" />
</div> </div>
<div v-if="entriesTable?.selectedView !== 'Whiteboard'"> <div v-if="!entriesTable?.isWhiteboardView()">
<h3 style="margin-bottom: 0.25em;">Scoring</h3> <h3 style="margin-bottom: 0.25em;">Scoring</h3>
<p style="margin-top: 0.25em; margin-bottom: 0.25em;"> <p style="margin-top: 0.25em; margin-bottom: 0.25em;">
Change how scores are calculated for this class here. Change how scores are calculated for this class here.

View File

@ -253,9 +253,13 @@ function addAllEntriesForDate(dateStr: string) {
} }
} }
function isWhiteboardView() {
return selectedView.value === TableView.WHITEBOARD
}
defineExpose({ defineExpose({
loadEntries, loadEntries,
selectedView isWhiteboardView
}) })
</script> </script>
<template> <template>