Skip to content

Commit

Permalink
chore: remove list
Browse files Browse the repository at this point in the history
  • Loading branch information
davidma415 committed Apr 15, 2024
1 parent 9af0374 commit 2815725
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/ErrorMessage.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
<template>
<KAlert
:alert-message="errorMessage"
appearance="danger"
class="kong-auth-error-message error-message"
data-testid="kong-auth-error-message"
>
<template v-if="passwordRequirements.length" #alertMessage>
<p>{{ capitalizeFirstChar(errorMessage) }}:</p>
<ul>
<li v-for="(error, idx) in passwordRequirements" :key="idx">{{ capitalizeFirstChar(error) }}</li>
</ul>
</template>
<template v-else #alertMessage>{{ errorMessage }}</template>
<template v-if="passwordRequirements.length" #default>
<p>{{ capitalizeFirstChar(errorMessage) }}:</p>
<ul>
Expand Down

0 comments on commit 2815725

Please sign in to comment.