mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 23:26:20 +00:00
Fix modal render issue
This commit is contained in:
+1
-4
@@ -216,13 +216,10 @@ export const ExternalCaModal = ({ popUp, handlePopUpToggle }: Props) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const availableConnections: TAvailableAppConnection[] = useMemo(() => {
|
const availableConnections: TAvailableAppConnection[] = useMemo(() => {
|
||||||
if (caType === CaType.ACME) {
|
|
||||||
return [...(availableRoute53Connections || []), ...(availableCloudflareConnections || [])];
|
|
||||||
}
|
|
||||||
if (caType === CaType.AZURE_AD_CS) {
|
if (caType === CaType.AZURE_AD_CS) {
|
||||||
return availableAzureConnections || [];
|
return availableAzureConnections || [];
|
||||||
}
|
}
|
||||||
return [];
|
return [...(availableRoute53Connections || []), ...(availableCloudflareConnections || [])];
|
||||||
}, [
|
}, [
|
||||||
caType,
|
caType,
|
||||||
availableRoute53Connections,
|
availableRoute53Connections,
|
||||||
|
|||||||
Reference in New Issue
Block a user