Navigation fixes (#1095)

* Navigation fixes

* remove console log

* Fix prettier

* Fix legal pages as well
This commit is contained in:
Geometrically
2023-04-15 18:07:20 -07:00
committed by GitHub
parent fd28da2a3b
commit e56974f4b2
7 changed files with 109 additions and 107 deletions

View File

@@ -186,11 +186,11 @@
:class="'display-mode--' + $cosmetics.searchDisplayMode.user"
>
<ProjectCard
v-for="project in ($route.params.projectType !== undefined
v-for="project in (route.params.projectType !== undefined
? projects.filter(
(x) =>
x.project_type ===
$route.params.projectType.substr(0, $route.params.projectType.length - 1)
route.params.projectType.substr(0, route.params.projectType.length - 1)
)
: projects
)