Generate and lottery has distinct routes.

No longer use tab view for these pages.
This commit is contained in:
2020-12-31 17:13:41 +01:00
parent 0144780bb1
commit 3c0b8d4c06

View File

@@ -1,9 +1,9 @@
const VinlottisPage = () => import( const VinlottisPage = () => import(
/* webpackChunkName: "landing-page" */ /* webpackChunkName: "landing-page" */
"@/components/VinlottisPage"); "@/components/VinlottisPage");
const LotteryPage = () => import( const VirtualLotteryPage = () => import(
/* webpackChunkName: "landing-page" */ /* webpackChunkName: "landing-page" */
"@/components/LotteryPage"); "@/components/VirtualLotteryPage");
const GeneratePage = () => import( const GeneratePage = () => import(
/* webpackChunkName: "landing-page" */ /* webpackChunkName: "landing-page" */
"@/components/GeneratePage"); "@/components/GeneratePage");
@@ -54,7 +54,7 @@ const routes = [
{ {
path: "/lottery", path: "/lottery",
name: "Lotteri", name: "Lotteri",
component: LotteryPage component: VirtualLotteryPage
}, },
{ {
path: "/dagens", path: "/dagens",
@@ -82,8 +82,8 @@ const routes = [
component: AdminPage component: AdminPage
}, },
{ {
path: "/lottery/:tab", path: "/generate/",
component: LotteryPage component: GeneratePage
}, },
{ {
path: "/winner/:id", path: "/winner/:id",