diff --git a/web/src/controllers/MetricListContainer/MetricItemsSelectedPopup.tsx b/web/src/controllers/MetricListContainer/MetricItemsSelectedPopup.tsx index e8204f854..563b23dea 100644 --- a/web/src/controllers/MetricListContainer/MetricItemsSelectedPopup.tsx +++ b/web/src/controllers/MetricListContainer/MetricItemsSelectedPopup.tsx @@ -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} /> ); };