diff --git a/frontend/build_full_app_css.sh b/frontend/build_full_app_css.sh index d79ad6ccee..b7a26614c7 100755 --- a/frontend/build_full_app_css.sh +++ b/frontend/build_full_app_css.sh @@ -1 +1 @@ -BUILD_FULL_APP="true" npx tailwindcss -i src/lib/assets/app.css -o src/lib/assets/tailwind_full.js --postcss \ No newline at end of file +NODE_ENV="production" npx tailwindcss -i src/lib/assets/app.css -o static/tailwind_full.css --postcss \ No newline at end of file diff --git a/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte b/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte index 4cf98d0131..bfaf006943 100644 --- a/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte +++ b/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte @@ -97,6 +97,10 @@ } }) : [] + + if (value != undefined && listItems.some((x) => x.value === value)) { + return + } let rawValue if (resolvedConfig.defaultValue !== undefined) { rawValue = resolvedConfig.defaultValue diff --git a/frontend/src/lib/components/apps/editor/AppPreview.svelte b/frontend/src/lib/components/apps/editor/AppPreview.svelte index 479a84f23c..5b84cb5616 100644 --- a/frontend/src/lib/components/apps/editor/AppPreview.svelte +++ b/frontend/src/lib/components/apps/editor/AppPreview.svelte @@ -1,6 +1,6 @@