Remove the /events/explore route
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
</b-navbar-item>
|
||||
</template>
|
||||
<template slot="start">
|
||||
<b-navbar-item tag="router-link" :to="{ name: RouteName.EXPLORE }">{{
|
||||
<b-navbar-item tag="router-link" :to="{ name: RouteName.SEARCH }">{{
|
||||
$t("Explore")
|
||||
}}</b-navbar-item>
|
||||
<b-navbar-item tag="router-link" :to="{ name: RouteName.MY_EVENTS }">{{
|
||||
|
||||
@@ -13,7 +13,6 @@ export enum EventRouteName {
|
||||
EVENT_LIST = "EventList",
|
||||
CREATE_EVENT = "CreateEvent",
|
||||
MY_EVENTS = "MyEvents",
|
||||
EXPLORE = "Explore",
|
||||
EDIT_EVENT = "EditEvent",
|
||||
DUPLICATE_EVENT = "DuplicateEvent",
|
||||
PARTICIPATIONS = "Participations",
|
||||
@@ -39,12 +38,6 @@ export const eventRoutes: RouteConfig[] = [
|
||||
component: editEvent,
|
||||
meta: { requiredAuth: true },
|
||||
},
|
||||
{
|
||||
path: "/events/explore",
|
||||
name: EventRouteName.EXPLORE,
|
||||
redirect: { name: "Search" },
|
||||
meta: { requiredAuth: false },
|
||||
},
|
||||
{
|
||||
path: "/events/me",
|
||||
name: EventRouteName.MY_EVENTS,
|
||||
|
||||
Reference in New Issue
Block a user