CEC-3040 Fix add car button permission (#245)

This commit is contained in:
John Wu
2022-12-07 11:21:20 -08:00
committed by GitHub
parent 0fad12b23b
commit 888e8925bd
3 changed files with 33 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ const MainForm = () => {
<RoleWrap
groups={groups}
providers={providers}
rolesPerProvider={Permissions.FiskerDelete}
rolesPerProvider={Permissions.FiskerCreate}
>
<Link to="/vehicle-add">
<AddCircleIcon fontSize="large" />