summaryrefslogtreecommitdiff
path: root/js/view
diff options
context:
space:
mode:
Diffstat (limited to 'js/view')
-rw-r--r--js/view/packages.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/view/packages.js b/js/view/packages.js
index c2cde74..77b9785 100644
--- a/js/view/packages.js
+++ b/js/view/packages.js
@@ -224,7 +224,7 @@
return null;
}
- return guix.withLayout(ctrl.pager().isEmpty() ? spinner : [
+ return guix.withLayout(_.isEmpty(ctrl.packages()) ? spinner : [
guix.ui.headerWithBadge("Packages", ctrl.packageCount()),
renderModal(),
renderSearchBox(),