Fixed npm typecheck error.
Build and Test App / Build-and-test-App (push) Successful in 34s
Details
Build and Test App / Build-and-test-App (push) Successful in 34s
Details
This commit is contained in:
parent
38b34c0598
commit
6681527b21
|
@ -136,7 +136,7 @@ function resetScoreParameters() {
|
|||
|
||||
<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>
|
||||
<form @submit.prevent="submitNote">
|
||||
<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()" />
|
||||
</div>
|
||||
|
||||
<div v-if="entriesTable?.selectedView !== 'Whiteboard'">
|
||||
<div v-if="!entriesTable?.isWhiteboardView()">
|
||||
<h3 style="margin-bottom: 0.25em;">Scoring</h3>
|
||||
<p style="margin-top: 0.25em; margin-bottom: 0.25em;">
|
||||
Change how scores are calculated for this class here.
|
||||
|
|
|
@ -253,9 +253,13 @@ function addAllEntriesForDate(dateStr: string) {
|
|||
}
|
||||
}
|
||||
|
||||
function isWhiteboardView() {
|
||||
return selectedView.value === TableView.WHITEBOARD
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
loadEntries,
|
||||
selectedView
|
||||
isWhiteboardView
|
||||
})
|
||||
</script>
|
||||
<template>
|
||||
|
@ -309,7 +313,7 @@ defineExpose({
|
|||
<tbody>
|
||||
<tr v-for="(student, idx) in getVisibleStudents()" :key="student.id" style="height: 2em;">
|
||||
<td v-if="selectedView !== TableView.WHITEBOARD" style="text-align: right; padding-right: 0.5em;">{{ idx + 1
|
||||
}}.</td>
|
||||
}}.</td>
|
||||
<StudentNameCell :student="student" :class-id="classId"
|
||||
:show-labels="selectedView !== TableView.WHITEBOARD" />
|
||||
<td v-if="assignedDesks" v-text="student.deskNumber"></td>
|
||||
|
|
Loading…
Reference in New Issue