diff --git a/packages/default-theme/components/SwRegister.vue b/packages/default-theme/components/SwRegister.vue index c7c96e521..ad17a63f3 100644 --- a/packages/default-theme/components/SwRegister.vue +++ b/packages/default-theme/components/SwRegister.vue @@ -194,11 +194,11 @@ export default { } }, getErrorMessage() { - if (userError) + if (this.userError) return 'Cannot create a new account, the user may already exist' - if (salutationsError) + if (this.salutationsError) return "Couldn't fetch available salutations, please contact the administration." - if (countriesError) + if (this.countriesError) return "Couldn't fetch available countries, please contact the administration." } }, @@ -281,6 +281,12 @@ export default { } } +.sw-register { + &__alert { + margin: var(--spacer-medium) 0; + } +} + .form { &__input { margin-bottom: var(--spacer-big);