mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: allow editors to create flags again (#7685)
This change fixes a bug where editors were suddenly unable to create flags. The issue is that the new project creation dialog used a permission button, but didn't supply the project ID.
This commit is contained in:
parent
f24f8a896c
commit
80cff0a5fa
@ -60,6 +60,7 @@ const FlagCreationButton: FC = () => {
|
||||
onClick={() => setOpenCreateDialog(true)}
|
||||
maxWidth='960px'
|
||||
Icon={Add}
|
||||
projectId={projectId}
|
||||
disabled={loading}
|
||||
permission={CREATE_FEATURE}
|
||||
data-testid='NAVIGATE_TO_CREATE_FEATURE'
|
||||
|
Loading…
Reference in New Issue
Block a user