mirror of
https://github.com/penpot/penpot.git
synced 2026-03-30 00:00:45 +02:00
🐛 Fix shared button variant and title (#8696)
Co-authored-by: Luis de Dios <luis.dedios@kaleidos.net>
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
- Fix Alt/Option to draw shapes from center point (by @offreal) [Github #8361](https://github.com/penpot/penpot/pull/8361)
|
||||
- Add token name on broken token pill on sidebar [Taiga #13527](https://tree.taiga.io/project/penpot/issue/13527)
|
||||
- Fix tooltip activated when tab change [Taiga #13627](https://tree.taiga.io/project/penpot/issue/13627)
|
||||
- Fix title on shared button [Taiga #13730](https://tree.taiga.io/project/penpot/issue/13730)
|
||||
|
||||
|
||||
## 2.14.0
|
||||
|
||||
@@ -90,6 +90,7 @@
|
||||
libs (mf/deref refs/libraries)
|
||||
num-libs (count libs)
|
||||
file (get libs file-id)
|
||||
shared? (:is-shared file)
|
||||
components (mf/with-memo [file] (ctkl/components (:data file)))
|
||||
|
||||
toggle-ordering
|
||||
@@ -164,7 +165,7 @@
|
||||
[:article {:class (stl/css :assets-bar)}
|
||||
[:div {:class (stl/css :assets-header)}
|
||||
(when-not ^boolean read-only?
|
||||
(if (and (= num-libs 1) (empty? components))
|
||||
(if (and (= num-libs 1) (empty? components) (not shared?))
|
||||
[:button {:class (stl/css :add-library-button)
|
||||
:on-click show-libraries-dialog
|
||||
:data-testid "libraries"}
|
||||
|
||||
Reference in New Issue
Block a user