fix share sim
This commit is contained in:
parent
2b04ef3636
commit
f3e7fb913d
@ -525,6 +525,18 @@ export default function SimulatorRunPage({ params }: { params: Promise<{ id: str
|
||||
<span>{t(`status.${run.status}`)}</span>
|
||||
</div>
|
||||
</Badge>
|
||||
|
||||
{/* 分享状态显示 */}
|
||||
{run.permissions === 'public' && (
|
||||
<Badge variant="secondary" className="text-xs">
|
||||
{run.visibility === 'published' ? (
|
||||
<span className="text-green-600 dark:text-green-400">已发布</span>
|
||||
) : (
|
||||
<span className="text-orange-600 dark:text-orange-400">待审核</span>
|
||||
)}
|
||||
</Badge>
|
||||
)}
|
||||
|
||||
<span>{run.model.provider} {run.model.name}</span>
|
||||
<span>
|
||||
{formatDistanceToNow(new Date(run.createdAt), {
|
||||
|
Loading…
Reference in New Issue
Block a user