mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
Merge pull request #5407 from Peter-De-Ath/citations-page-no
feat: add page no to citations
This commit is contained in:
commit
1eec9e2b59
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@
|
||||||
>
|
>
|
||||||
{document?.metadata?.name ?? document.source.name}
|
{document?.metadata?.name ?? document.source.name}
|
||||||
</a>
|
</a>
|
||||||
|
{document?.metadata?.page ? `(page ${document.metadata.page + 1})` : ''}
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<div class="text-sm dark:text-gray-400">
|
<div class="text-sm dark:text-gray-400">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue