summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-08-07 21:27:25 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-08-07 21:27:25 -0400
commitb322aabf6b5fa64090c1874822e41f2071598e39 (patch)
treefaca7ff32f0e8d075c341da4e8b94cee6ab4914e /js
parentd5fa21bd3887197cf5e4387f787e44872e42e671 (diff)
Display visible packages in badge on package search page.
* js/guix-packages.js (guix.view): Display ctrl.visiblePackages() in badge.
Diffstat (limited to 'js')
-rw-r--r--js/guix-packages.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/guix-packages.js b/js/guix-packages.js
index 9c4c450..27d559f 100644
--- a/js/guix-packages.js
+++ b/js/guix-packages.js
@@ -73,7 +73,7 @@ guix.view = function(ctrl) {
return [
m("h2", [
"Packages",
- m("span.badge", ctrl.packages().length)
+ m("span.badge", ctrl.visiblePackages().length)
]),
m("input.form-control", {
type: "text",