From 0cb2e6d07dc09b5728fb81a030b3b837c5f79d2c Mon Sep 17 00:00:00 2001 From: Jordi Sala Morales Date: Tue, 23 Apr 2024 07:40:16 +0000 Subject: [PATCH] :bug: Fix default features for files exported with penpot lib Avoid having false as features, since it should be an array. --- frontend/src/app/libs/file_builder.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/libs/file_builder.cljs b/frontend/src/app/libs/file_builder.cljs index 4b09f795e..ea046e255 100644 --- a/frontend/src/app/libs/file_builder.cljs +++ b/frontend/src/app/libs/file_builder.cljs @@ -7,6 +7,7 @@ (ns app.libs.file-builder (:require [app.common.data :as d] + [app.common.features :as cfeat] [app.common.files.builder :as fb] [app.common.media :as cm] [app.common.types.components-list :as ctkl] @@ -73,7 +74,7 @@ manifest-stream (->> files-stream - (rx/map #(e/create-manifest (uuid/next) (:id file) :all % false)) + (rx/map #(e/create-manifest (uuid/next) (:id file) :all % cfeat/default-features)) (rx/map (fn [a] (vector "manifest.json" a))))