Merge pull request #4491 from jordisala1991/hotfix/features-file-builder

🐛 Fix default features for files exported with penpot lib
This commit is contained in:
Alejandro 2024-04-23 12:39:17 +02:00 committed by GitHub
commit 9bf5b1a8cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@
(ns app.libs.file-builder (ns app.libs.file-builder
(:require (:require
[app.common.data :as d] [app.common.data :as d]
[app.common.features :as cfeat]
[app.common.files.builder :as fb] [app.common.files.builder :as fb]
[app.common.media :as cm] [app.common.media :as cm]
[app.common.types.components-list :as ctkl] [app.common.types.components-list :as ctkl]
@ -73,7 +74,7 @@
manifest-stream manifest-stream
(->> files-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] (rx/map (fn [a]
(vector "manifest.json" a)))) (vector "manifest.json" a))))