Skip to content

Commit

Permalink
Merge pull request #205 from WormBase/fix/life-stage-description
Browse files Browse the repository at this point in the history
fix life-stage description/definiton WormBase/website#7463
  • Loading branch information
Sibyl G authored Dec 16, 2019
2 parents 57cbfbd + 638b3ac commit 7760315
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 7760315

Please sign in to comment.