Skip to content

Commit

Permalink
Merge pull request #264 from strideynet/kev-fix-silent-audit-log-error
Browse files Browse the repository at this point in the history
Fix audit log error is not propagated
  • Loading branch information
KevSlashNull authored Oct 24, 2024
2 parents 31b3f56 + ca5ccc5 commit 6b59ef1
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions web/admin/components/user/profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ await refresh();

<template>
<div>
<user-card
class="mb-5"
:did="subject?.did || props.did"
:pending="pending"
:variant="variant"
@next="handleNext"
/>
<shared-card v-if="error" variant="error">{{ error }}</shared-card>
<div v-else>
<user-card
class="mb-5"
:did="subject?.did || props.did"
:pending="pending"
:variant="variant"
@next="handleNext"
/>
<user-audit-log
ref="auditLog"
:subject="subject"
:did="subject?.did || props.did"
/>
</div>
<user-audit-log
v-else
ref="auditLog"
:subject="subject"
:did="subject?.did || props.did"
@error="error = $event"
/>
</div>
</template>

0 comments on commit 6b59ef1

Please sign in to comment.