feat: Add Batch RT Import page for uploading Refresh Tokens and managing batch import operations.

This commit is contained in:
2026-02-08 19:05:02 +08:00
parent 76de666560
commit 9510267f45

View File

@@ -438,7 +438,7 @@ export default function BatchRTImport() {
<CardTitle className="flex items-center gap-2 text-base">
<CheckCircle className="h-4 w-4 text-green-500" />
{status && status.results.length > 0 && (
{status && status.results && status.results.length > 0 && (
<span className="text-xs font-normal text-slate-500 ml-1">
({status.results.length} )
</span>
@@ -446,7 +446,7 @@ export default function BatchRTImport() {
</CardTitle>
</CardHeader>
<CardContent>
{(!status || status.results.length === 0) ? (
{(!status || !status.results || status.results.length === 0) ? (
<div className="text-center py-12 text-slate-400 dark:text-slate-500">
<KeyRound className="h-12 w-12 mx-auto mb-3 opacity-50" />
<p className="text-sm"></p>