From accfbec3535125e47ac71d05377e1f7e7d540f58 Mon Sep 17 00:00:00 2001 From: Diego Pascual Date: Wed, 27 Mar 2024 11:21:01 +0100 Subject: [PATCH] fix build --- src/x-components/plugin.options.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/x-components/plugin.options.ts b/src/x-components/plugin.options.ts index c6e54f29..5be6f9e7 100644 --- a/src/x-components/plugin.options.ts +++ b/src/x-components/plugin.options.ts @@ -18,9 +18,7 @@ export async function getInstallXOptions(): Promise { if (process.env.VUE_APP_DEVELOPMENT_DOCKER) { const { overrideAdapter } = await import('../adapter/docker.adapter'); overrideAdapter(adapter); - if (typeof window.initX === 'object') { - window.initX.lang = 'es'; - } + (window.initX as SnippetConfig).lang = 'es'; } return { adapter,