aboutsummaryrefslogtreecommitdiff
path: root/packages/client/src/views/Repository.vue
diff options
context:
space:
mode:
Diffstat (limited to 'packages/client/src/views/Repository.vue')
-rw-r--r--packages/client/src/views/Repository.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/client/src/views/Repository.vue b/packages/client/src/views/Repository.vue
index 14fd62f..a3a973d 100644
--- a/packages/client/src/views/Repository.vue
+++ b/packages/client/src/views/Repository.vue
@@ -2,7 +2,7 @@
<div class="container">
<RepositoryHeader :name="name" :description="description" />
<RepositoryNavbar
- :repository="$router.currentRoute._rawValue.params.repo" :active-page="$router.currentRoute._rawValue.path.split('/')[2]"
+ :repository="$route.params.repo" :active-page="$route.path.split('/')[2]"
:has-readme="has_readme" />
<router-view v-if="!error" />
<template v-else>