diff --git a/pages/add/_edit.vue b/pages/add/_edit.vue index 338087d7..a0862a32 100644 --- a/pages/add/_edit.vue +++ b/pages/add/_edit.vue @@ -260,7 +260,7 @@ export default { if (this.event.tags) { this.event.tags.forEach(tag => formData.append('tags[]', tag.tag || tag)) } try { const ret = this.edit ? await this.$axios.$put('/event', formData) : await this.$axios.$post('/event', formData) - if (!this.date.recurrent) { + if (!this.date.recurrent && ret.is_visible) { this.$router.push(`/event/${ret.slug}`) } else { this.$router.push('/')