mirror of
https://github.com/penpot/penpot.git
synced 2025-07-16 19:55:17 +02:00
Merge remote-tracking branch 'origin/main' into staging
This commit is contained in:
commit
14788846a5
22 changed files with 40 additions and 31 deletions
|
@ -6,6 +6,8 @@
|
|||
|
||||
(ns app.main.ui.workspace.header
|
||||
(:require
|
||||
[app.common.pages.helpers :as cph]
|
||||
[app.common.uuid :as uuid]
|
||||
[app.config :as cf]
|
||||
[app.main.data.events :as ev]
|
||||
[app.main.data.exports :as de]
|
||||
|
@ -107,7 +109,9 @@
|
|||
show-sub-menu? (mf/use-state false)
|
||||
editing? (mf/use-state false)
|
||||
edit-input-ref (mf/use-ref nil)
|
||||
frames (mf/deref refs/workspace-frames)
|
||||
objects (mf/deref refs/workspace-page-objects)
|
||||
frames (->> (cph/get-immediate-children objects uuid/zero)
|
||||
(filterv cph/frame-shape?))
|
||||
|
||||
add-shared-fn
|
||||
#(st/emit! (dwl/set-file-shared (:id file) true))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue