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