mirror of
https://github.com/penpot/penpot.git
synced 2025-02-03 21:09:00 -05:00
Merge pull request #1928 from penpot/palba-fix-wrong-not-found-message
🐛 Fix wrong 'no assets found' message
This commit is contained in:
commit
6eb24bd1b7
2 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@
|
||||||
[app.main.ui.formats :as fmt]
|
[app.main.ui.formats :as fmt]
|
||||||
[app.util.code-gen :as cg]
|
[app.util.code-gen :as cg]
|
||||||
[app.util.i18n :refer [tr]]
|
[app.util.i18n :refer [tr]]
|
||||||
[app.util.strings :as ust]
|
|
||||||
[cuerdas.core :as str]
|
[cuerdas.core :as str]
|
||||||
[rumext.alpha :as mf]))
|
[rumext.alpha :as mf]))
|
||||||
|
|
||||||
|
|
|
@ -2105,7 +2105,7 @@
|
||||||
:on-assets-delete on-assets-delete
|
:on-assets-delete on-assets-delete
|
||||||
:on-clear-selection unselect-all}])
|
:on-clear-selection unselect-all}])
|
||||||
|
|
||||||
(when (and (not show-components?) (not show-graphics?) (not show-colors?))
|
(when (and (not show-components?) (not show-graphics?) (not show-colors?) (not show-typography?))
|
||||||
[:div.asset-section
|
[:div.asset-section
|
||||||
[:div.asset-title (tr "workspace.assets.not-found")]])]))]))
|
[:div.asset-title (tr "workspace.assets.not-found")]])]))]))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue