Commit 992db9e6 authored by rene's avatar rene
Browse files

arreglar unos problemas de historial en el router

parent 3d3eaf75
......@@ -61,7 +61,7 @@ const router = new Router({
component: Barca,
meta: {
requiresAuth: true,
backCallback: (router, route) => router.push(`/barcas`),
backCallback: () => history.back(),
},
},
{
......@@ -85,8 +85,7 @@ const router = new Router({
component: Consenso,
meta: {
requiresAuth: true,
backCallback: (router, route) =>
router.push(`/barcas/${route.params.barcaId}`),
backCallback: () => history.back(),
},
},
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment