1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-19 00:15:43 +01:00

fix: allow editors to submit flag form (#7687)

This change is a follow-up to
https://github.com/Unleash/unleash/pull/7685 and fixes another
instance of the same issue.

It wasn't caught previously, because the permissions are passed as
props here, and not used directly.


![image](https://github.com/user-attachments/assets/e8c4cb90-92e3-42ca-9c15-458b5b9d37c2)
This commit is contained in:
Thomas Heartman 2024-07-29 11:45:52 +02:00 committed by GitHub
parent 80cff0a5fa
commit 1cd1f982ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -206,6 +206,7 @@ export const CreateFeatureDialog = ({
>
<DialogFormTemplate
createButtonProps={{
projectId: project,
disabled:
loading ||
loadingTotalFlagCount ||