From b901bf14cd92f30e7251757d2a2d930350fdbec9 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 4 Jun 2019 22:16:33 +0100 Subject: [PATCH] Ensure that errors are emptied on success --- src/components/SessionForm.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/SessionForm.vue b/src/components/SessionForm.vue index f71ecec..184a03f 100644 --- a/src/components/SessionForm.vue +++ b/src/components/SessionForm.vue @@ -76,6 +76,7 @@ export default { .then(({ data }) => { const title = data.data.attributes.title this.messages.push(`Session ${title} has been created.`) + this.errors = [] this.form.body = '' this.form.title = ''