Hello! We are running our annual fundraising. Please consider making a donation if you value this freely available service or want to support people around the world working towards liberatory social change. https://riseup.net/donate.

Commit 60fc7c7d authored by void's avatar void
Browse files

manejar error 'forbidden' en Barca

parent 094859bb
......@@ -28,7 +28,14 @@
</nav>
<h1 v-if="loading">Cargando...</h1>
<div v-else-if="error">
<h1>Error: {{ error }}</h1>
<template v-if="error === 'forbidden'">
<h2>No tenés permiso para acceder a esta barca.</h2>
<p>
Quizás probá
<router-link to="/barcas">andando para atrás</router-link>.
</p>
</template>
<h1 v-else>Error: {{ error }}</h1>
</div>
<template v-else-if="consensos.length > 0" v-for="consenso in consensos">
<consenso :consenso="consenso" :barcaId="barcaId" :key="consenso.id" />
......
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