mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 13:09:22 +00:00
🐛 Fix import libraries missing team-id (#11505)
This commit is contained in:
parent
d82038a570
commit
00e0492bb5
@ -366,10 +366,14 @@
|
|||||||
(if clone?
|
(if clone?
|
||||||
(let [profile (profile/get-profile pool profile-id)
|
(let [profile (profile/get-profile pool profile-id)
|
||||||
project-id (:default-project-id profile)
|
project-id (:default-project-id profile)
|
||||||
|
team (teams/get-team pool
|
||||||
|
:profile-id profile-id
|
||||||
|
:project-id project-id)
|
||||||
cfg (assoc cfg
|
cfg (assoc cfg
|
||||||
::bfc/overwrite false
|
::bfc/overwrite false
|
||||||
::bfc/profile-id profile-id
|
::bfc/profile-id profile-id
|
||||||
::bfc/project-id project-id
|
::bfc/project-id project-id
|
||||||
|
::bfc/team-id (:id team)
|
||||||
::bfc/input path
|
::bfc/input path
|
||||||
::bfc/import-max-object-size (cf/get :binfile-import-max-object-size)
|
::bfc/import-max-object-size (cf/get :binfile-import-max-object-size)
|
||||||
::bfc/import-max-zip-entries (cf/get :binfile-import-max-zip-entries))]
|
::bfc/import-max-zip-entries (cf/get :binfile-import-max-zip-entries))]
|
||||||
@ -628,6 +632,7 @@
|
|||||||
::bfc/profile-id profile-id
|
::bfc/profile-id profile-id
|
||||||
::bfc/project-id project-id
|
::bfc/project-id project-id
|
||||||
::bfc/input path
|
::bfc/input path
|
||||||
|
::bfc/team-id (:id team)
|
||||||
::bfc/features (cfeat/get-team-enabled-features cf/flags team)
|
::bfc/features (cfeat/get-team-enabled-features cf/flags team)
|
||||||
::bfc/import-max-object-size (cf/get :binfile-import-max-object-size)
|
::bfc/import-max-object-size (cf/get :binfile-import-max-object-size)
|
||||||
::bfc/import-max-zip-entries (cf/get :binfile-import-max-zip-entries))]
|
::bfc/import-max-zip-entries (cf/get :binfile-import-max-zip-entries))]
|
||||||
|
|||||||
@ -425,6 +425,7 @@
|
|||||||
cfg (-> cfg
|
cfg (-> cfg
|
||||||
(assoc ::bfc/project-id project-id)
|
(assoc ::bfc/project-id project-id)
|
||||||
(assoc ::bfc/profile-id profile-id)
|
(assoc ::bfc/profile-id profile-id)
|
||||||
|
(assoc ::bfc/team-id (:id team))
|
||||||
(assoc ::bfc/input template)
|
(assoc ::bfc/input template)
|
||||||
(assoc ::bfc/features (cfeat/get-team-enabled-features cf/flags team))
|
(assoc ::bfc/features (cfeat/get-team-enabled-features cf/flags team))
|
||||||
(assoc ::bfc/import-max-object-size (cf/get :binfile-import-max-object-size))
|
(assoc ::bfc/import-max-object-size (cf/get :binfile-import-max-object-size))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user