mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix tests (#7912)
This commit is contained in:
parent
8dfd0e0374
commit
533f5172d7
@ -404,7 +404,7 @@ export default createWidget("header", {
|
||||
|
||||
const currentPath = this.register
|
||||
.lookup("service:router")
|
||||
.get("router._router.currentPath");
|
||||
.get("_router.currentPath");
|
||||
|
||||
if (currentPath === "full-page-search") {
|
||||
scrollTop();
|
||||
@ -480,7 +480,7 @@ export default createWidget("header", {
|
||||
|
||||
const currentPath = this.register
|
||||
.lookup("service:router")
|
||||
.get("router._router.currentPath");
|
||||
.get("_router.currentPath");
|
||||
const blacklist = [/^discovery\.categories/];
|
||||
const whitelist = [/^topic\./];
|
||||
const check = function(regex) {
|
||||
|
Loading…
Reference in New Issue
Block a user