fix: error handler

This commit is contained in:
Shivam Mishra
2024-12-12 13:33:37 +05:30
parent ed8adb36fe
commit 974a9f00b9
@@ -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>