Browse Source

fix: deprecation warning for namespace macro

Gabriel Horner 6 months ago
parent
commit
b4ed4ec55c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/block.cljs

+ 1 - 1
src/main/frontend/components/block.cljs

@@ -1898,7 +1898,7 @@
 
       (= name "namespace")
       (if (config/db-based-graph? (state/get-current-repo))
-        [:div.warning "Namespace is deprecated, use tags instead"]
+        [:div.warning (str "{{namespace}} is deprecated. Use the " common-config/library-page-name " feature instead.")]
         (let [namespace (first arguments)]
           (when-not (string/blank? namespace)
             (let [namespace (string/lower-case (page-ref/get-page-name! namespace))