diff --git a/package.json b/package.json index 77ebe30..a0c73e9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "wavelovers", "description": "Wavelovers. Use your device vibration correctly. Make a massager out of a gamepad.", "keywords": [ "wavelovers", "gamepad-vibrator", "gamepad-test-tool", "gamepad-vibration-test-tool" ], - "version": "1.0.11", + "version": "1.0.12", "license": "GNU GPL v3", "homepage": "https://wavelovers.ru/", "author": { diff --git a/src/router/modules/MetaTagUpdater.ts b/src/router/modules/MetaTagUpdater.ts index 881b186..77c7636 100644 --- a/src/router/modules/MetaTagUpdater.ts +++ b/src/router/modules/MetaTagUpdater.ts @@ -1,4 +1,6 @@ -import { NavigationGuardNext, RouteLocationNormalized, RouteRecordNormalized } from "vue-router"; +import { + NavigationGuardNext, RouteLocationNormalized, RouteRecordNormalized +} from "vue-router"; function appendTags(tagsArray: object[], type: string) { tagsArray.map((meta: object) => { diff --git a/src/router/modules/QueryRouter.ts b/src/router/modules/QueryRouter.ts index 0100ff2..f44195e 100644 --- a/src/router/modules/QueryRouter.ts +++ b/src/router/modules/QueryRouter.ts @@ -8,9 +8,9 @@ function updateRoute( from: RouteLocationNormalized, next: NavigationGuardNext, router: Router, - queryRoutes: Array + routes: Array ): void { - queryRoutes.forEach((route) => { + routes.forEach((route) => { if (route.query === to.fullPath) { router.push(route.path); }