From 3700592832a3df2049c13e63d647b598e4da02cf Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Wed, 24 Jan 2024 02:18:25 +0800 Subject: [PATCH] Remove page properties background for db-based graphs --- src/main/frontend/components/property.cljs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/frontend/components/property.cljs b/src/main/frontend/components/property.cljs index 17561444a..d4bf45cf8 100644 --- a/src/main/frontend/components/property.cljs +++ b/src/main/frontend/components/property.cljs @@ -721,7 +721,13 @@ (not (:page-configure? opts))) [:div.ls-properties-area (cond-> (if in-block-container? {} - {:class [(if class-schema? "class-properties" "page-properties")]}) + {:class [(cond + class-schema? + "class-properties" + (config/db-based-graph? (state/get-current-repo)) + nil + :else + "page-properties")]}) (:selected? opts) (update :class conj "select-none")) (properties-section block (if class-schema? properties own-properties) opts)