Shows completer name on completed badge

Updates the completed badge to display the name of the user who marked the event as complete.

This provides better context and clarity regarding who triggered the completion status.
This commit is contained in:
padreug 2025-10-21 23:41:46 +02:00
parent 62c38185e8
commit 098bff8acc

View file

@ -151,9 +151,9 @@ function cancelMarkComplete() {
<CheckCircle class="h-4 w-4" />
</Button>
<!-- Completed Badge -->
<Badge v-if="isCompletable && isCompleted" variant="secondary" class="text-xs">
<!-- Completed Badge with completer name -->
<Badge v-if="isCompletable && isCompleted && getCompletion(eventAddress)" variant="secondary" class="text-xs">
{{ getDisplayName(getCompletion(eventAddress)!.pubkey) }}
</Badge>
<!-- Admin Badge -->