Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

[BUG] Multiple calls to ACL endpoint on tab load #671

Open
MikeEdgar opened this issue Mar 3, 2022 · 0 comments
Open

[BUG] Multiple calls to ACL endpoint on tab load #671

MikeEdgar opened this issue Mar 3, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@MikeEdgar
Copy link

Describe the bug
Multiple calls to fetch ACL list when loading the "Access" tab

Expected behavior
The ACLs are only loaded once initially

Additional context

useEffect(() => {
fetchPermissions();
}, []);
useEffect(() => {
fetchPermissions();
}, [page, perPage]);

@MikeEdgar MikeEdgar added the bug Something isn't working label Mar 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant