You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
Hi guys, nice lib but i have a strange behavior with it...
if i use the new
<ResourceWithPermission>
component, everything works fine except if i use a camelCased resource name.<ResourceWithPermission name="users" ... > // ok
<ResourceWithPermission name="adminUsers" ... > // broken. Menu, edit, showing, listing, nothing work.
here is a sandbox for testing purpose.
https://codesandbox.io/s/simple-5hp4k
(check the acl.js file for adjust.)thanks
Edit :: After looking your component, i saw the problem...
const prefix = name.toLowerCase();
The text was updated successfully, but these errors were encountered: