Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
asset status can be undefined if image was not just recently uploaded
Oleg Isonen1f3692b43c00
diff --git a/apps/designer/app/designer/shared/assets/use-assets.ts b/apps/designer/app/designer/shared/assets/use-assets.tsindex 0a3208acfc..265cad7907 100644--- a/apps/designer/app/designer/shared/assets/use-assets.ts+++ b/apps/designer/app/designer/shared/assets/use-assets.ts@@ -34,7 +34,7 @@ export const usePublishAssets = (publish: Publish) => {publish({type: "updateAssets",payload: assets.filter(- (asset) => asset.status === "uploaded"+ (asset) => asset.status === undefined || asset.status === "uploaded") as Array<Asset>, // TS doesn't understand we filtered out PrevewAssets});}, [assets, publish]);