aboutsummaryrefslogtreecommitdiff
path: root/packages/client/src/views
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-18 14:29:22 +0200
committerHampusM <hampus@hampusmat.com>2021-07-18 14:29:22 +0200
commit5c8fa80951b1bd5a6a6497eddeb1f078b7d958fa (patch)
treef52e4dee1147c1a19be9fd96e30445a27e09a1cf /packages/client/src/views
parent9684e2dec933f1be80543748f1753761006c3d5f (diff)
Fixed Vue warnings & cleaned up the Repository view a little
Diffstat (limited to 'packages/client/src/views')
-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>