Skip to content

Commit

Permalink
fix(audit): destructuring null context
Browse files Browse the repository at this point in the history
  • Loading branch information
mtthp committed Nov 13, 2024
1 parent 5763695 commit 296ad9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/audit/AuditEntryInline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const props = defineProps({
});
const essentialContext = computed(() => {
const { memberId, member, ...rest } = props.event.context;
const { memberId, member, ...rest } = props.event.context || {};
return rest;
});
Expand Down

0 comments on commit 296ad9a

Please sign in to comment.