Update MetricItemsSelectedPopup.tsx

This commit is contained in:
Nate Kelley 2025-03-01 23:55:59 -07:00
parent f625ec4276
commit 4e1e0537ee
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,7 @@ const StatusButton: React.FC<{
const onVerifiedMetric = useBusterMetricsIndividualContextSelector(
(state) => state.onVerifiedMetric
);
const isAdmin = useUserConfigContextSelector((state) => state.isAdmin);
const onVerify = useMemoizedFn(async (d: { id: string; status: VerificationStatus }[]) => {
// await onVerifiedMetric(d);
@ -137,6 +138,7 @@ const StatusButton: React.FC<{
status={VerificationStatus.notRequested}
id={selectedRowKeys}
onVerify={onVerify}
isAdmin={isAdmin}
/>
);
};