From 7cc1c5aa5caa05edc7dd8c03b92775ce82e26565 Mon Sep 17 00:00:00 2001 From: charlie Date: Tue, 20 Jun 2023 11:27:37 +0800 Subject: [PATCH] enhance(plugin): support right sidebar item type as string --- src/main/frontend/components/right_sidebar.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/frontend/components/right_sidebar.cljs b/src/main/frontend/components/right_sidebar.cljs index 2accd87fc9..b71adebfa3 100644 --- a/src/main/frontend/components/right_sidebar.cljs +++ b/src/main/frontend/components/right_sidebar.cljs @@ -114,7 +114,7 @@ (defn build-sidebar-item [repo idx db-id block-type] - (case block-type + (case (keyword block-type) :contents [(t :right-side-bar/contents) (contents)]