From 3c0b8d4c066b7b4bc1e40fb73feb01c1c4d96f3e Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Thu, 31 Dec 2020 17:13:41 +0100 Subject: [PATCH] Generate and lottery has distinct routes. No longer use tab view for these pages. --- frontend/router.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/router.js b/frontend/router.js index e625e41..beaa308 100644 --- a/frontend/router.js +++ b/frontend/router.js @@ -1,9 +1,9 @@ const VinlottisPage = () => import( /* webpackChunkName: "landing-page" */ "@/components/VinlottisPage"); -const LotteryPage = () => import( +const VirtualLotteryPage = () => import( /* webpackChunkName: "landing-page" */ - "@/components/LotteryPage"); + "@/components/VirtualLotteryPage"); const GeneratePage = () => import( /* webpackChunkName: "landing-page" */ "@/components/GeneratePage"); @@ -54,7 +54,7 @@ const routes = [ { path: "/lottery", name: "Lotteri", - component: LotteryPage + component: VirtualLotteryPage }, { path: "/dagens", @@ -82,8 +82,8 @@ const routes = [ component: AdminPage }, { - path: "/lottery/:tab", - component: LotteryPage + path: "/generate/", + component: GeneratePage }, { path: "/winner/:id",