refac
Some checks are pending
Deploy to HuggingFace Spaces / check-secret (push) Waiting to run
Deploy to HuggingFace Spaces / deploy (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Python CI / Format Backend (3.11.x) (push) Waiting to run
Python CI / Format Backend (3.12.x) (push) Waiting to run
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run

This commit is contained in:
Timothy Jaeryang Baek 2025-05-04 00:20:30 +04:00
parent 59e52add63
commit c5c98591f9

View File

@ -331,9 +331,9 @@
</div>
<div class=" flex-1 w-full h-full overflow-auto px-4 pb-5">
{#if note.data?.files}
{#if files}
<div class="mb-3.5 mt-1.5 w-full flex gap-1 flex-wrap z-40">
{#each note.data.files as file, fileIdx}
{#each files as file, fileIdx}
<div class="w-fit">
{#if file.type === 'image'}
<Image
@ -353,6 +353,7 @@
name={file.name}
type={file.type}
size={file?.size}
loading={file.status === 'uploading'}
colorClassName="bg-white dark:bg-gray-850 "
on:dismiss={() => {
files = files.filter((item) => item?.id !== file.id);