fix: error handler
This commit is contained in:
@@ -70,7 +70,7 @@ const downloadAttachment = async () => {
|
||||
>
|
||||
<div
|
||||
v-if="hasError"
|
||||
class="flex items-center bg-n-alpha-1 gap-1 text-center px-5 py-4 rounded-lg"
|
||||
class="flex items-center gap-1 px-5 py-4 text-center rounded-lg bg-n-alpha-1"
|
||||
>
|
||||
<Icon icon="i-lucide-circle-off" class="text-n-slate-11" />
|
||||
<p class="mb-0 text-n-slate-11">
|
||||
@@ -105,7 +105,7 @@ const downloadAttachment = async () => {
|
||||
v-model:show="showGallery"
|
||||
:attachment="useSnakeCase(attachment)"
|
||||
:all-attachments="filteredCurrentChatAttachments"
|
||||
@error="onError"
|
||||
@error="handleError"
|
||||
@close="() => (showGallery = false)"
|
||||
/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user