Skip to content

A platform for community discussion. Free, open, simple.

FIX: Check conditions for mobile /filter bulk select btn (#34887)

Bryce Huhtalad7f8e67b1a5f
diff --git a/app/assets/javascripts/discourse/app/components/discovery/filter-navigation.gjs b/app/assets/javascripts/discourse/app/components/discovery/filter-navigation.gjs
index 2330d9596c7..57dc4f1c636 100644
--- a/app/assets/javascripts/discourse/app/components/discovery/filter-navigation.gjs
+++ b/app/assets/javascripts/discourse/app/components/discovery/filter-navigation.gjs
@@ -28,7 +28,7 @@ export default class DiscoveryFilterNavigation extends Component {
{ site: this.site }
);
- return this.site.mobileView || (enableOnDesktop && this.args.canBulkSelect);
+ return this.args.canBulkSelect && (this.site.mobileView || enableOnDesktop);
}
<template>