mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 14:14:55 +00:00
fix: deprecation warning for namespace macro
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user