Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit 8f434d5

Browse files
committed
fix alert in index
1 parent af9dc1e commit 8f434d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/user/accessRequestAlert.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { UserState } from "../../lib/context"
44

55
export const AccessRequestAlert = () => {
66
const userData = useContext(UserState)
7-
return userData?.accessRequests?.length ?(
7+
return userData?.accessRequestsAsGranter?.length ?(
88
<Alert variant='info'>
99
Du har tilgangssøknad som venter på <Link href="/user/requestsForGroup">behandling</Link>.
1010
</Alert>): <></>

0 commit comments

Comments
 (0)