fix tagsMatch
This commit is contained in:
@@ -56,9 +56,11 @@
|
|||||||
(= ,value (readComponent e ,componentType))))
|
(= ,value (readComponent e ,componentType))))
|
||||||
,process))
|
,process))
|
||||||
|
|
||||||
(function tagList [archive e]
|
(function :Array<String> tagList [archive :nat.Entry e]
|
||||||
|
(if (hasComponent e Tags)
|
||||||
(let [t (readComponent e Tags)]
|
(let [t (readComponent e Tags)]
|
||||||
(collect (t.keys))))
|
(collect (t.keys)))
|
||||||
|
[]))
|
||||||
|
|
||||||
(function tagsMatch [archive e tagsBoolExp]
|
(function tagsMatch [archive e tagsBoolExp]
|
||||||
(BoolExpInterp.eval tagsBoolExp (tagList archive e)))
|
(BoolExpInterp.eval tagsBoolExp (tagList archive e)))
|
||||||
|
|||||||
Reference in New Issue
Block a user