diff --git a/src/partials/tagging/TagActiveDistributions.tsx b/src/partials/tagging/TagActiveDistributions.tsx index 005bf83..9c3605a 100644 --- a/src/partials/tagging/TagActiveDistributions.tsx +++ b/src/partials/tagging/TagActiveDistributions.tsx @@ -31,6 +31,7 @@ import { TAG_DISTRIBUTION } from "../../routes/paths"; import { DocumentOperation } from "../../components/DocumentOperation/DocumentOperation"; import { DocumentDownloader } from "../../components/DocumentDownloader/DocumentDownloader"; import { useUserProfileStore } from "../../context/zustand-store/userStore"; +import { checkAccess } from "../../utils/checkAccess"; export default function TagActiveDistributions() { const { openModal } = useModalStore(); @@ -242,7 +243,8 @@ export default function TagActiveDistributions() { ارسال نشده ), - item?.otp_status !== "accept" ? ( + item?.otp_status !== "accept" && + checkAccess({ page: "tag_distribution", access: "Send-Sms" }) ? (