From 78db4eeba7493df2f60f0ee37db611e82771af60 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 27 Dec 2024 18:31:49 -0800 Subject: [PATCH] web: display model id --- web/src/app/submissions/[submissionId]/_comments.tsx | 3 ++- web/src/app/submissions/[submissionId]/page.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web/src/app/submissions/[submissionId]/_comments.tsx b/web/src/app/submissions/[submissionId]/_comments.tsx index 276e59e..cc36c3e 100644 --- a/web/src/app/submissions/[submissionId]/_comments.tsx +++ b/web/src/app/submissions/[submissionId]/_comments.tsx @@ -9,6 +9,7 @@ interface CommentersProps { } interface CreatorAndReviewStatus { + asset_id: SubmissionInfo["AssetID"], creator: SubmissionInfo["DisplayName"], review: SubmissionInfo["StatusID"], comments: Comment[], @@ -63,4 +64,4 @@ export default function Comments(stats: CommentersProps) { export { type CreatorAndReviewStatus -} \ No newline at end of file +} diff --git a/web/src/app/submissions/[submissionId]/page.tsx b/web/src/app/submissions/[submissionId]/page.tsx index 4b681cd..93f0420 100644 --- a/web/src/app/submissions/[submissionId]/page.tsx +++ b/web/src/app/submissions/[submissionId]/page.tsx @@ -60,6 +60,7 @@ function TitleAndComments(stats: CreatorAndReviewStatus) {

by {stats.creator}

+

Model Asset ID {stats.asset_id}

@@ -91,7 +92,7 @@ export default function SubmissionInfoPage() {
{RatingArea(submission)} - +