Skip to content

Commit

Permalink
fix life-stage description/definiton WormBase/website#7463
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibyl committed Dec 16, 2019
1 parent 57cbfbd commit 638b3ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rest_api/classes/life_stage/widgets/overview.clj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
; :description "The prominent cell group for this life stage"})

(defn definition [ls]
{:data (first (:life-stage/definition ls))
{:data (->> (:life-stage/definition ls)
(:life-stage.definition/text))
:description "brief definition of the life stage"})

(defn contained-in-life-stage [ls]
Expand Down

0 comments on commit 638b3ac

Please sign in to comment.