Skip to content
Snippets Groups Projects
Commit 8ca15c26 authored by Julian's avatar Julian
Browse files

Allow passing person to TextNote

parent d1d1d073
No related branches found
No related tags found
1 merge request!440Resolve "Allow editing of personal notes and participation status from person page widget"
......@@ -17,6 +17,11 @@ export default {
type: Object,
required: true,
},
person: {
type: Object,
required: false,
default: () => ({ fullName: null }),
},
},
computed: {
model: {
......@@ -148,7 +153,7 @@ export default {
{{
$t("alsijil.personal_notes.confirm_delete_explanation", {
note: value.note,
name: participation.person.fullName,
name: (participation?.person || person).fullName,
})
}}
</template>
......
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