From 07819844d5ef7e323fd956eacfedecb2f4f4bb80 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Fri, 17 Nov 2023 15:16:23 +0700
Subject: Update result feature

---
 src/modules/result/components/MoreMenu.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/modules/result/components/MoreMenu.tsx')

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>
-- 
cgit v1.2.3

