Skip to content

Node.js based forum software built for the modern web

feat: hide all categories link on flags filters

Barış Soner Uşaklıe9d0db28924c
diff --git a/public/less/flags.less b/public/less/flags.less
index 29b5998933..0edccd7819 100644
--- a/public/less/flags.less
+++ b/public/less/flags.less
@@ -4,6 +4,13 @@
- Now available in front-end for global mods as well
*/
+.page-flags {
+ // hide the all categories li element
+ [component="flags/filters"] [component="category/dropdown"] [data-all="all"] {
+ display: none;
+ }
+}
+
.page-manage-flags, .page-posts-flags {
.post-container > .row {
margin-bottom: 2rem;
diff --git a/test.sh b/test.sh
new file mode 100644
index 0000000000..27750c67dc
--- /dev/null
+++ b/test.sh
@@ -0,0 +1 @@
+mocha test/api.js test/authentication.js test/batch.js test/blacklist.js test/categories.js test/controllers-admin.js test/controllers.js test/coverPhoto.js test/defer-logger.js test/emailer.js test/feeds.js test/file.js test/flags.js test/groups.js test/image.js test/locale-detect.js test/messaging.js test/meta.js test/middleware.js test/notifications.js test/pagination.js test/password.js test/posts.js test/pubsub.js test/rewards.js test/search-admin.js test/search.js test/settings.js test/template-helpers.js test/topics.js test/translator.js test/user.js test/utils.js
\ No newline at end of file