feat: add optional cache busting for image (#12055)

### What problem does this PR solve?

Add optional cache busting for image

#12003  

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Jimmy Ben Klieve
2025-12-22 09:36:45 +08:00
committed by GitHub
parent 5aea82d9c4
commit 8dd2394e93
4 changed files with 20 additions and 4 deletions

View File

@ -55,6 +55,7 @@ const Chunk = () => {
handleInputChange,
available,
handleSetAvailable,
dataUpdatedAt,
} = useFetchNextChunkList();
const { handleChunkCardClick, selectedChunkId } = useHandleChunkCardClick();
const isPdf = documentInfo?.type === 'pdf';
@ -277,6 +278,7 @@ const Chunk = () => {
clickChunkCard={handleChunkCardClick}
selected={item.chunk_id === selectedChunkId}
textMode={textMode}
t={dataUpdatedAt}
></ChunkCard>
))}
</div>