diff --git a/src/app/[orgId]/settings/clients/user/[niceId]/general/page.tsx b/src/app/[orgId]/settings/clients/user/[niceId]/general/page.tsx index bca04c8cb..cfdc5a996 100644 --- a/src/app/[orgId]/settings/clients/user/[niceId]/general/page.tsx +++ b/src/app/[orgId]/settings/clients/user/[niceId]/general/page.tsx @@ -167,6 +167,10 @@ export default function GeneralPage() { const [isCheckingCache, setIsCheckingCache] = useState(false); const [isRebuildingCache, setIsRebuildingCache] = useState(false); + // get "imp" from local storage to determine if we should show the verify button (imp = "1" means show) + const showVerifyButton = + typeof window !== "undefined" && localStorage.getItem("imp") === "1"; + const handleRebuildCache = async () => { if (!client.clientId) return; setIsRebuildingCache(true); @@ -904,74 +908,77 @@ export default function GeneralPage() { )} - {/* Hidden cache verification — subtle button, dev/admin diagnostic */} -