aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-02-25 21:42:07 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-25 21:42:07 +0000
commitfd0bf340a71b26af8214fd7c5e80f8ee9f0346b5 (patch)
tree88ec68f8d38764c8dcbb464eaee31a80c8108129
parentb8543859c932104c73208e8994246900f1baced0 (diff)
downloaddata-service-fd0bf340a71b26af8214fd7c5e80f8ee9f0346b5.tar
data-service-fd0bf340a71b26af8214fd7c5e80f8ee9f0346b5.tar.gz
Fix showing versions in the comparison
Previously, some extra data from the query would be added on to the end of the version. This change prevents that from happening.
-rw-r--r--guix-data-service/web/view/html.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix-data-service/web/view/html.scm b/guix-data-service/web/view/html.scm
index 9882877..4615640 100644
--- a/guix-data-service/web/view/html.scm
+++ b/guix-data-service/web/view/html.scm
@@ -159,7 +159,7 @@
(tbody
,@(map
(match-lambda
- ((name . version)
+ ((name version rest ...)
`(tr
(td ,name)
(td ,version))))
@@ -176,7 +176,7 @@
(tbody
,@(map
(match-lambda
- ((name . version)
+ ((name version rest ...)
`(tr
(td ,name)
(td ,version))))