diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-11-17 15:16:23 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-11-17 15:16:23 +0700 |
| commit | 07819844d5ef7e323fd956eacfedecb2f4f4bb80 (patch) | |
| tree | d83ba8c6ff7f47f568889ff8371ee9d9918ed166 /src/modules/result/components/MoreMenu.tsx | |
| parent | 10ce1ad59969576244ba786d7d17da2da3fe6f61 (diff) | |
Update result feature
Diffstat (limited to 'src/modules/result/components/MoreMenu.tsx')
| -rw-r--r-- | src/modules/result/components/MoreMenu.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/result/components/MoreMenu.tsx b/src/modules/result/components/MoreMenu.tsx index a7380f4..03c9786 100644 --- a/src/modules/result/components/MoreMenu.tsx +++ b/src/modules/result/components/MoreMenu.tsx @@ -4,12 +4,14 @@ import { MoreVerticalIcon } from 'lucide-react' import React from 'react' import ImportModal from './ImportModal'; import ProductModal from './ProductModal'; +import getClientCredential from '@/common/libs/getClientCredential'; const MoreMenu = () => { + const credential = getClientCredential() const importModal = useDisclosure(); const productModal = useDisclosure(); - return ( + return credential && credential.team == 'VERIFICATION' && ( <> <Dropdown> <DropdownTrigger> |
