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>
|
||||
|
|
Loading…
Reference in New Issue