@@ -8,7 +8,7 @@ const dePluralize = type => {
}
const typeFromRoute = (route) => {
- const type = route.params.type ? route.params.type : route.fullPath.slice(1)
+ const type = route.params.type ? route.params.type : route.path.slice(1)
return type