diff options
-rw-r--r-- | guix-data-service/web/controller.scm | 1 | ||||
-rw-r--r-- | guix-data-service/web/view/html.scm | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/guix-data-service/web/controller.scm b/guix-data-service/web/controller.scm index 9ef0554..84afa1f 100644 --- a/guix-data-service/web/controller.scm +++ b/guix-data-service/web/controller.scm @@ -579,7 +579,6 @@ (first (count-guix-revisions conn))))))) (lambda (key . args) - (peek key args) #f)))) (render-json `((status . ,(if database-status diff --git a/guix-data-service/web/view/html.scm b/guix-data-service/web/view/html.scm index 78388c2..03bd9b1 100644 --- a/guix-data-service/web/view/html.scm +++ b/guix-data-service/web/view/html.scm @@ -184,7 +184,7 @@ `((value ,(value->text value))))) ((_key . value) (if (string=? type "checkbox") - (if (peek "VALUE" value) + (if value '((checked #t)) '()) `((value ,(value->text value))))))))) |