fix(editor): aliases support searching

Also, fixed 1029
This commit is contained in:
Tienson Qin
2020-12-30 23:42:19 +08:00
parent c08f239f99
commit 153108b75b
4 changed files with 9 additions and 7 deletions

View File

@@ -177,7 +177,8 @@
:block
(let [{:block/keys [page content indexes]} data]
(let [page (:page/original-name page)]
(let [page (or (:page/original-name page)
(:page/name page))]
[:div.flex-1
[:div.text-sm.font-medium page]
(highlight-fuzzy content indexes)]))