mirror of
https://github.com/penpot/penpot.git
synced 2025-02-11 09:38:56 -05:00
🐛 After team onboarding importing a file will import into the team drafts
This commit is contained in:
parent
6727717d1a
commit
4b490e3ca4
2 changed files with 4 additions and 2 deletions
|
@ -16,6 +16,7 @@
|
||||||
- Fix problems with team management [#1353](https://github.com/penpot/penpot/issues/1353)
|
- Fix problems with team management [#1353](https://github.com/penpot/penpot/issues/1353)
|
||||||
- Fix problem when importing in shared libraries [#1362](https://github.com/penpot/penpot/issues/1362)
|
- Fix problem when importing in shared libraries [#1362](https://github.com/penpot/penpot/issues/1362)
|
||||||
- Fix problem with join nodes [#1422](https://github.com/penpot/penpot/issues/1422)
|
- Fix problem with join nodes [#1422](https://github.com/penpot/penpot/issues/1422)
|
||||||
|
- After team onboarding importing a file will import into the team drafts [Taiga #2408](https://tree.taiga.io/project/penpot/issue/2408)
|
||||||
|
|
||||||
### :arrow_up: Deps updates
|
### :arrow_up: Deps updates
|
||||||
### :heart: Community contributions by (Thank you!)
|
### :heart: Community contributions by (Thank you!)
|
||||||
|
|
|
@ -61,8 +61,9 @@
|
||||||
::mf/register-as :onboarding-templates}
|
::mf/register-as :onboarding-templates}
|
||||||
;; NOTE: the project usually comes empty, it only comes fullfilled
|
;; NOTE: the project usually comes empty, it only comes fullfilled
|
||||||
;; when a user creates a new team just after signup.
|
;; when a user creates a new team just after signup.
|
||||||
[{:keys [project-id] :as props}]
|
[props]
|
||||||
(let [close-fn (mf/use-callback #(st/emit! (modal/hide)))
|
(let [project-id (unchecked-get props "project-id")
|
||||||
|
close-fn (mf/use-callback #(st/emit! (modal/hide)))
|
||||||
profile (mf/deref refs/profile)
|
profile (mf/deref refs/profile)
|
||||||
project-id (or project-id (:default-project-id profile))]
|
project-id (or project-id (:default-project-id profile))]
|
||||||
[:div.modal-overlay
|
[:div.modal-overlay
|
||||||
|
|
Loading…
Add table
Reference in a new issue