Skip to content
Snippets Groups Projects
Commit 9b46183e authored by Julian's avatar Julian
Browse files

Only display chips, if personal note has changes in it

parent 56d1d23f
No related branches found
No related tags found
No related merge requests found
......@@ -66,10 +66,12 @@ export default {
>
<template v-slot:activator="{ on, attrs }">
<div>
<v-chip class="ma-1" v-for="personal_note in personalNotes" close
@click="editPersonalNote(personal_note.student.id)" @click:close="removePersonalNote(personal_note)">
{{personal_note.student.full_name}}: {{personal_note.tardiness}}
</v-chip>
<template v-for="personal_note in personalNotes">
<v-chip class="ma-1" close @click="editPersonalNote(personal_note.student.id)"
@click:close="removePersonalNote(personal_note.student.id)" v-if="personalNoteString(personal_note)">
{{ personal_note.student.full_name }}: {{ personalNoteString(personal_note) }}
</v-chip>
</template>
</div>
<v-btn
class="ma-1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment