mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 06:28:11 +00:00
misc: address project set kms issue
This commit is contained in:
+15
-12
@@ -318,20 +318,23 @@ export const EncryptionTab = () => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</ProjectPermissionCan>
|
</ProjectPermissionCan>
|
||||||
|
<ProjectPermissionCan
|
||||||
|
I={ProjectPermissionActions.Edit}
|
||||||
|
a={ProjectPermissionSub.Workspace}
|
||||||
|
>
|
||||||
|
{(isAllowed) => (
|
||||||
|
<Button
|
||||||
|
colorSchema="secondary"
|
||||||
|
type="submit"
|
||||||
|
isDisabled={!isAllowed || isSubmitting || !isDirty}
|
||||||
|
isLoading={isSubmitting}
|
||||||
|
>
|
||||||
|
Save
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
|
</ProjectPermissionCan>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<ProjectPermissionCan I={ProjectPermissionActions.Edit} a={ProjectPermissionSub.Workspace}>
|
|
||||||
{(isAllowed) => (
|
|
||||||
<Button
|
|
||||||
colorSchema="secondary"
|
|
||||||
type="submit"
|
|
||||||
isDisabled={!isAllowed || isSubmitting || !isDirty}
|
|
||||||
isLoading={isSubmitting}
|
|
||||||
>
|
|
||||||
Save
|
|
||||||
</Button>
|
|
||||||
)}
|
|
||||||
</ProjectPermissionCan>
|
|
||||||
<BackupConfirmationModal
|
<BackupConfirmationModal
|
||||||
isOpen={popUp.createBackupConfirmation.isOpen}
|
isOpen={popUp.createBackupConfirmation.isOpen}
|
||||||
onOpenChange={(state: boolean) => handlePopUpToggle("createBackupConfirmation", state)}
|
onOpenChange={(state: boolean) => handlePopUpToggle("createBackupConfirmation", state)}
|
||||||
|
|||||||
Reference in New Issue
Block a user