Link homework review entry points to pending filter
Dashboard tiles and the curator CTA pointed to /curator/homework without a status filter, so the default all-submissions list (newest first) buried old PENDING items pages deep — 19 June submissions sat unseen for 6 weeks while the top of the list showed freshly approved work. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -94,7 +94,7 @@ export default async function AdminDashboard() {
|
||||
value={homeworkPending}
|
||||
sub={`${homeworkTotal} всего сдано`}
|
||||
subAccent={homeworkPending > 0}
|
||||
href="/curator/homework"
|
||||
href="/curator/homework?status=pending"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ export default async function CuratorDashboard() {
|
||||
</div>
|
||||
|
||||
{pending > 0 ? (
|
||||
<Link href="/curator/homework" className="btn-aubade btn-aubade-accent inline-flex items-center gap-2 px-5 py-2.5 text-sm">
|
||||
<Link href="/curator/homework?status=pending" className="btn-aubade btn-aubade-accent inline-flex items-center gap-2 px-5 py-2.5 text-sm">
|
||||
Перейти к проверке ({pending}) →
|
||||
</Link>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user