Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
davidma415 committed Apr 15, 2024
1 parent 2815725 commit 1e933bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ErrorMessage.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<template>
<!-- NOTE: alert-message is added for backwards compatibility of host apps that arent using kongponents alpha -->
<KAlert
:alert-message="errorMessage"
appearance="danger"
Expand Down
1 change: 1 addition & 0 deletions src/components/ForgotPasswordForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<ErrorMessage :error="error" />
</div>
<div v-else-if="currentState.matches('success')">
<!-- NOTE: alert-message is added for backwards compatibility of host apps that arent using kongponents alpha -->
<KAlert
:alert-message="successText"
appearance="info"
Expand Down
3 changes: 3 additions & 0 deletions src/components/LoginForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
</div>

<div v-else-if="currentState.matches('reset_password')" class="form-error">
<!-- NOTE: alert-message is added for backwards compatibility of host apps that arent using kongponents alpha -->
<KAlert
:alert-message="messages.login.passwordResetSuccess"
appearance="success"
Expand All @@ -52,6 +53,7 @@
</div>

<div v-else-if="currentState.matches('confirmed_email')" class="form-error">
<!-- NOTE: alert-message is added for backwards compatibility of host apps that arent using kongponents alpha -->
<KAlert
:alert-message="messages.login.confirmedEmailSuccess"
appearance="success"
Expand All @@ -62,6 +64,7 @@
</div>

<div v-else-if="currentState.matches('from_register')" class="form-error">
<!-- NOTE: alert-message is added for backwards compatibility of host apps that arent using kongponents alpha -->
<KAlert
:alert-message="registerSuccessText"
appearance="success"
Expand Down

0 comments on commit 1e933bb

Please sign in to comment.