mirror of https://github.com/buster-so/buster.git
Update MetricItemsSelectedPopup.tsx
This commit is contained in:
parent
f625ec4276
commit
4e1e0537ee
|
@ -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}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue