mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 12:26:38 +00:00
Merge pull request #4254 from Infisical/allow-click-outside-close-rotation-modal
improvement(frontend): remove click outside moda tol close disabling on various modals
This commit is contained in:
@@ -76,7 +76,6 @@ export const CreateSecretRotationV2Modal = ({ onOpenChange, isOpen, ...props }:
|
|||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
onPointerDownOutside={(e) => e.preventDefault()}
|
|
||||||
className={selectedRotation ? "max-w-2xl" : "max-w-3xl"}
|
className={selectedRotation ? "max-w-2xl" : "max-w-3xl"}
|
||||||
subTitle={
|
subTitle={
|
||||||
selectedRotation ? undefined : "Select a provider to create a secret rotation for."
|
selectedRotation ? undefined : "Select a provider to create a secret rotation for."
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ export const CreateSecretScanningDataSourceModal = ({ onOpenChange, isOpen, ...p
|
|||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
onPointerDownOutside={(e) => e.preventDefault()}
|
|
||||||
className={selectedDataSource ? "max-w-2xl" : "max-w-3xl"}
|
className={selectedDataSource ? "max-w-2xl" : "max-w-3xl"}
|
||||||
subTitle={
|
subTitle={
|
||||||
selectedDataSource ? undefined : "Select a data source to configure secret scanning for."
|
selectedDataSource ? undefined : "Select a data source to configure secret scanning for."
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ export const CreateSecretSyncModal = ({ onOpenChange, selectSync = null, ...prop
|
|||||||
"Add Sync"
|
"Add Sync"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
onPointerDownOutside={(e) => e.preventDefault()}
|
|
||||||
className="max-w-2xl"
|
className="max-w-2xl"
|
||||||
bodyClassName="overflow-visible"
|
bodyClassName="overflow-visible"
|
||||||
subTitle={selectedSync ? undefined : "Select a third-party service to sync secrets to."}
|
subTitle={selectedSync ? undefined : "Select a third-party service to sync secrets to."}
|
||||||
|
|||||||
Reference in New Issue
Block a user