From 1a143d84dabefc1be685df5ff2b58af6f8185ff9 Mon Sep 17 00:00:00 2001 From: ayZagen Date: Sat, 15 Jun 2019 19:08:45 +0300 Subject: [PATCH] fix: error messages are not shown in setup (#821) --- client/components/setup.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/components/setup.vue b/client/components/setup.vue index 50d904cf..fc14e50a 100644 --- a/client/components/setup.vue +++ b/client/components/setup.vue @@ -86,7 +86,7 @@ data-vv-name='adminEmail', data-vv-as='Administrator Email', data-vv-scope='admin', - :error-messages='errors.collect(`adminEmail`)' + :error-messages='errors.collect(`admin.adminEmail`)' ref='adminEmailInput' ) v-flex.pr-3(xs6) @@ -106,7 +106,7 @@ data-vv-name='adminPassword', data-vv-as='Password', data-vv-scope='admin', - :error-messages='errors.collect(`adminPassword`)' + :error-messages='errors.collect(`admin.adminPassword`)' ) v-flex(xs6) v-text-field( @@ -125,7 +125,7 @@ data-vv-name='adminPasswordConfirm', data-vv-as='Confirm Password', data-vv-scope='admin', - :error-messages='errors.collect(`adminPasswordConfirm`)' + :error-messages='errors.collect(`admin.adminPasswordConfirm`)' @keyup.enter='proceedToUpgrade' ) .pt-3.text-xs-center @@ -157,7 +157,7 @@ data-vv-name='upgMongo', data-vv-as='MongoDB Connection String', data-vv-scope='upgrade', - :error-messages='errors.collect(`upgMongo`)' + :error-messages='errors.collect(`upgrade.upgMongo`)' ) .pt-3.text-xs-center v-btn(@click='proceedToAdmin', :disabled='loading') Back