Skip to content

Commit

Permalink
fix: filter out volume ingredient
Browse files Browse the repository at this point in the history
  • Loading branch information
Casper Bollen authored and Casper Bollen committed Feb 17, 2024
1 parent 6aad9d3 commit a76d1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Informedica.GenForm.Lib/Product.fs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ module Product =
Substances =
r.Substances
|> Array.filter (fun (n, q) ->
n |> String.equalsCapInsens "volume" |> not &&
n |> String.equalsCapInsens "volume mL" |> not &&
q
|> Option.map (fun br -> br > 0N)
|> Option.defaultValue false
Expand Down

0 comments on commit a76d1f9

Please sign in to comment.