Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: fix lx theme (#12699)
Liu Ji13d9a689c5f2
diff --git a/frontend/src/main.ts b/frontend/src/main.tsindex 7efde5a178..7f4adcbf07 100644--- a/frontend/src/main.ts+++ b/frontend/src/main.ts@@ -155,10 +155,7 @@ app.directive("data-source-type", dataSourceType).use(pinia);-// We need to restore the basic info in order to perform route authentication.-// Even using the <suspense>, it's still too late, thus we do the fetch here.-// We use finally because we always want to mount the app regardless of the error.-const initActuator = async () => {+const initSearchParams = () => {const actuatorStore = useActuatorV1Store();const searchParams = new URLSearchParams(window.location.search);const mode = searchParams.get("mode") as PageMode;@@ -174,8 +171,13 @@ const initActuator = async () => {if (lang) {i18n.global.locale.value = lang;}+};- actuatorStore.fetchServerInfo();+// We need to restore the basic info in order to perform route authentication.+// Even using the <suspense>, it's still too late, thus we do the fetch here.+// We use finally because we always want to mount the app regardless of the error.+const initActuator = async () => {+ useActuatorV1Store().fetchServerInfo();};const initSubscription = async () => {await useSubscriptionV1Store().fetchSubscription();@@ -195,6 +197,8 @@ const initBasicModules = async () => {]);};+initSearchParams();+const splash = createApp(Splash);splash.use(pinia).use(i18n).use(NaiveUI).mount("#app");