mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-08-02 13:12:50 +02:00
k (#2771)
This commit is contained in:
@@ -163,7 +163,7 @@ export function IndexingAttemptsTable({ ccPair }: { ccPair: CCPairFullInfo }) {
|
||||
// This updates the page number and manages the URL
|
||||
const updatePage = (newPage: number) => {
|
||||
setPage(newPage);
|
||||
router.push(`/admin/connector/${ccPair.id}?page=${newPage}`, {
|
||||
router.replace(`/admin/connector/${ccPair.id}?page=${newPage}`, {
|
||||
scroll: false,
|
||||
});
|
||||
window.scrollTo({
|
||||
|
@@ -140,7 +140,9 @@ function Main({ ccPairId }: { ccPairId: number }) {
|
||||
return (
|
||||
<>
|
||||
{popup}
|
||||
<BackButton />
|
||||
<BackButton
|
||||
behaviorOverride={() => router.push("/admin/indexing/status")}
|
||||
/>
|
||||
<div className="pb-1 flex mt-1">
|
||||
<div className="mr-2 my-auto">
|
||||
<SourceIcon iconSize={24} sourceType={ccPair.connector.source} />
|
||||
|
Reference in New Issue
Block a user