From 45041590dfab0f6f502b82de95a5a88f8313deb5 Mon Sep 17 00:00:00 2001 From: Laurence Chen Date: Thu, 5 Sep 2024 22:48:17 +0800 Subject: [PATCH] disable profile editing button --- src/co/gaiwan/compass/html/profiles.clj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/co/gaiwan/compass/html/profiles.clj b/src/co/gaiwan/compass/html/profiles.clj index 479622a..8a0908b 100644 --- a/src/co/gaiwan/compass/html/profiles.clj +++ b/src/co/gaiwan/compass/html/profiles.clj @@ -86,8 +86,9 @@ [:button.remove-btn "Remove"]])]] #_[:div (pr-str user)] - [:div.actions - [edit-profile-btn user]]])) + ;; Disable Edit Profile before we can show profile details pretty + #_[:div.actions + [edit-profile-btn user]]])) (o/defstyled private-name :div ([user {:keys [private-name-switch] :as params}]