mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-08 12:24:45 +00:00
fix(ui): stop the add-provider modal from shifting while it loads (#13179)
This commit is contained in:
1 parent
75c9a6bf51
commit
dcd3d5a0fb
22 files changed
+799
-151
No files matched your search
@@ -13,6 +13,7 @@ export interface RuntimePublicConfig {
|
||||
reoDevClientId: string | null; // reserved
|
||||
cloudEnabled: boolean;
|
||||
cloudBillingEnabled: boolean;
|
||||
registryEnabled: boolean;
|
||||
selfRegistrationEnabled: boolean;
|
||||
stripePublishableKey: string | null; // reserved
|
||||
stripePublishableKeyV2: string | null; // reserved
|
||||
@@ -34,6 +35,7 @@ export const EMPTY_RUNTIME_PUBLIC_CONFIG: RuntimePublicConfig = {
|
||||
reoDevClientId: null,
|
||||
cloudEnabled: false,
|
||||
cloudBillingEnabled: false,
|
||||
registryEnabled: false,
|
||||
selfRegistrationEnabled: true,
|
||||
stripePublishableKey: null,
|
||||
stripePublishableKeyV2: null,
|
||||
@@ -55,6 +57,7 @@ const pickConfig = (
|
||||
reoDevClientId: parsed.reoDevClientId ?? null,
|
||||
cloudEnabled: parsed.cloudEnabled ?? false,
|
||||
cloudBillingEnabled: parsed.cloudBillingEnabled ?? false,
|
||||
registryEnabled: parsed.registryEnabled ?? false,
|
||||
selfRegistrationEnabled: parsed.selfRegistrationEnabled ?? true,
|
||||
stripePublishableKey: parsed.stripePublishableKey ?? null,
|
||||
stripePublishableKeyV2: parsed.stripePublishableKeyV2 ?? null,
|
||||
|
||||
Reference in new issue
Block a user