From ad70f0e0492a486c71447d878ad9e7f813f858fd Mon Sep 17 00:00:00 2001 From: Gabriel Horner Date: Mon, 11 Sep 2023 13:03:06 -0400 Subject: [PATCH] fix: Don't show toggle on tags for file graph --- src/main/frontend/components/editor.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/frontend/components/editor.cljs b/src/main/frontend/components/editor.cljs index e5a6fc7a7..4cb22fd03 100644 --- a/src/main/frontend/components/editor.cljs +++ b/src/main/frontend/components/editor.cljs @@ -180,7 +180,7 @@ (cons q (rest matched-pages))) (cons q matched-pages))))] [:div - (when tag? + (when (and db? tag?) [:div.flex.flex-row.items-center.px-4.py-1.text-sm.opacity-70.gap-2 "Create object:" (ui/toggle create-object?