Remove /graphs from demo routes
This commit is contained in:
parent
99cc47cf00
commit
57299e086e
@ -239,7 +239,7 @@ export function handleDemoRedirect(route: ActivatedRoute, router: Router) {
|
|||||||
route.queryParams
|
route.queryParams
|
||||||
.subscribe(params => {
|
.subscribe(params => {
|
||||||
if (params.next) {
|
if (params.next) {
|
||||||
const path = ['/', '/acceleration', '/mining', '/lightning', '/graphs'];
|
const path = ['/', '/acceleration', '/mining', '/lightning'];
|
||||||
const index = path.indexOf(params.next);
|
const index = path.indexOf(params.next);
|
||||||
if (index >= 0) {
|
if (index >= 0) {
|
||||||
const nextPath = path[(index + 1) % path.length];
|
const nextPath = path[(index + 1) % path.length];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user