mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 07:11:32 -05:00
✨ Fix zero case for plugins
This commit is contained in:
parent
3c496ddd9d
commit
1779fd3e8b
1 changed files with 5 additions and 4 deletions
|
@ -169,10 +169,11 @@
|
||||||
[:div {:class (stl/css-case :info true :error error?)}
|
[:div {:class (stl/css-case :info true :error error?)}
|
||||||
(tr "workspace.plugins.error.manifest")])
|
(tr "workspace.plugins.error.manifest")])
|
||||||
|
|
||||||
|
(when-not (empty? plugins-state)
|
||||||
[:> i18n/tr-html*
|
[:> i18n/tr-html*
|
||||||
{:class (stl/css :discover)
|
{:class (stl/css :discover)
|
||||||
:on-click #(st/emit! (ptk/event ::ev/event {::ev/name "open-plugins-list"}))
|
:on-click #(st/emit! (ptk/event ::ev/event {::ev/name "open-plugins-list"}))
|
||||||
:content (tr "workspace.plugins.discover" cf/plugins-list-uri)}]
|
:content (tr "workspace.plugins.discover" cf/plugins-list-uri)}])
|
||||||
|
|
||||||
[:hr]
|
[:hr]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue