-
-
Save claudiuapetrei/9724b5937790d3ed955f5db4468473b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defui ^:once GrantListingBase | |
static om/IQuery | |
(query [this] [:id | |
:title | |
:authors_str]) | |
static f-css/CSS | |
(local-rules [this] css) | |
(include-children [this] []) | |
(defui ^:once GrantListingLinkUserEl | |
static om/IQuery | |
(query [this] (into [] | |
(concat | |
(om/get-query GrantListingBase) | |
[:linked?]))) | |
static om/Ident | |
(ident [this props] [:grant/by-id (:id props)]) | |
static f-css/CSS | |
(local-rules [this] g-css) | |
(include-children [this] [GrantListingBase]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment