Skip to content

Commit

Permalink
redirect after event created
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Lopes committed Sep 15, 2020
1 parent f2169d2 commit da76b0c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/cpmEventForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</div>
<!-- <l-map ref="myMap"> </l-map> -->

<div class="p15 ac mw-w-70">
<!-- <div class="p15 ac mw-w-70">
<h2 class="p15">Adicionar Tag para o evento:</h2>
Expand All @@ -128,7 +128,7 @@
multiple
solo
></v-select>
</div>
</div> -->


<v-row align="center">
Expand Down Expand Up @@ -348,10 +348,11 @@ export default {
.then(resp => {
if(resp.status == 200){
this.$toast.success('Registro efetuado!', 'Hey', {
position: "topCenter"
})
this.$router.push('/Feed')
this.eventForm = ''
}
})
Expand Down

0 comments on commit da76b0c

Please sign in to comment.