0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -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:
Eva Marco 2022-05-23 10:17:50 +02:00 committed by GitHub
commit 6eb24bd1b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -11,7 +11,6 @@
[app.main.ui.formats :as fmt]
[app.util.code-gen :as cg]
[app.util.i18n :refer [tr]]
[app.util.strings :as ust]
[cuerdas.core :as str]
[rumext.alpha :as mf]))

View file

@ -2105,7 +2105,7 @@
:on-assets-delete on-assets-delete
: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-title (tr "workspace.assets.not-found")]])]))]))