feat: move flagged rate

This commit is contained in:
Shivam Mishra
2026-06-29 17:37:01 +05:30
parent bf7a5792b2
commit 5122536322
2 changed files with 8 additions and 5 deletions
@@ -33,6 +33,9 @@ const flagReasons = [
const total = computed(() =>
flagReasons.reduce((sum, reason) => sum + reason.count, 0)
);
// Flagged responses as a share of all Captain replies (sample data).
const rate = '1.3%';
</script>
<template>
@@ -44,7 +47,7 @@ const total = computed(() =>
{{ $t('CAPTAIN.OVERVIEW.FLAGGED.TITLE') }}
</span>
<span class="text-sm text-n-slate-11">
{{ $t('CAPTAIN.OVERVIEW.FLAGGED.TOTAL', { count: total }) }}
{{ $t('CAPTAIN.OVERVIEW.FLAGGED.TOTAL', { count: total, rate }) }}
</span>
</div>
<div class="flex flex-col gap-3">