diff options
Diffstat (limited to 'apps/web')
| -rw-r--r-- | apps/web/app/dashboard/admin/page.tsx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/apps/web/app/dashboard/admin/page.tsx b/apps/web/app/dashboard/admin/page.tsx index 65ac44e1..43c48b44 100644 --- a/apps/web/app/dashboard/admin/page.tsx +++ b/apps/web/app/dashboard/admin/page.tsx @@ -103,7 +103,9 @@ function ActionsSection() { className="lg:w-1/2" variant="destructive" loading={isRecrawlPending} - onClick={() => recrawlLinks({ crawlStatus: "failure" })} + onClick={() => + recrawlLinks({ crawlStatus: "failure", runInference: true }) + } > Recrawl Failed Links Only </ActionButton> @@ -111,13 +113,23 @@ function ActionsSection() { className="lg:w-1/2" variant="destructive" loading={isRecrawlPending} - onClick={() => recrawlLinks({ crawlStatus: "all" })} + onClick={() => recrawlLinks({ crawlStatus: "all", runInference: true })} > Recrawl All Links </ActionButton> <ActionButton className="lg:w-1/2" variant="destructive" + loading={isRecrawlPending} + onClick={() => + recrawlLinks({ crawlStatus: "all", runInference: false }) + } + > + Recrawl All Links (Without Inference) + </ActionButton> + <ActionButton + className="lg:w-1/2" + variant="destructive" loading={isReindexPending} onClick={() => reindexBookmarks()} > |
