From 79467b7b72fe82c6d0194b7aafd5b6ddd505476e Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Thu, 19 May 2022 12:24:09 +0200 Subject: [PATCH] :bug: Fix wrong 'no assets found' message --- frontend/src/app/main/ui/viewer/handoff/attributes/layout.cljs | 1 - frontend/src/app/main/ui/workspace/sidebar/assets.cljs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/viewer/handoff/attributes/layout.cljs b/frontend/src/app/main/ui/viewer/handoff/attributes/layout.cljs index e6dd45711d..f2fca42b8c 100644 --- a/frontend/src/app/main/ui/viewer/handoff/attributes/layout.cljs +++ b/frontend/src/app/main/ui/viewer/handoff/attributes/layout.cljs @@ -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])) diff --git a/frontend/src/app/main/ui/workspace/sidebar/assets.cljs b/frontend/src/app/main/ui/workspace/sidebar/assets.cljs index ff0b264022..8c0fd3c874 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/assets.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/assets.cljs @@ -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")]])]))]))