mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 05:13:44 +08:00
DEV: It doesn't make sense for a filterMode to be weekly, quarterly, etc
This commit is contained in:
parent
da04c602ba
commit
211410c3b9
|
@ -31,7 +31,7 @@ export default Component.extend({
|
|||
navItems(filterMode, category, noSubcategories) {
|
||||
// we don't want to show the period in the navigation bar since it's in a dropdown
|
||||
if (filterMode.indexOf("top/") === 0) {
|
||||
filterMode = filterMode.replace("top/", "");
|
||||
filterMode = "top";
|
||||
}
|
||||
|
||||
let params;
|
||||
|
|
Loading…
Reference in New Issue
Block a user