web: display model id
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Quaternions 2024-12-27 18:31:49 -08:00
parent 56ff5670dd
commit 78db4eeba7
2 changed files with 4 additions and 2 deletions

View File

@ -9,6 +9,7 @@ interface CommentersProps {
} }
interface CreatorAndReviewStatus { interface CreatorAndReviewStatus {
asset_id: SubmissionInfo["AssetID"],
creator: SubmissionInfo["DisplayName"], creator: SubmissionInfo["DisplayName"],
review: SubmissionInfo["StatusID"], review: SubmissionInfo["StatusID"],
comments: Comment[], comments: Comment[],

View File

@ -60,6 +60,7 @@ function TitleAndComments(stats: CreatorAndReviewStatus) {
</aside> </aside>
</div> </div>
<p className="by-creator">by <Link href="" target="_blank">{stats.creator}</Link></p> <p className="by-creator">by <Link href="" target="_blank">{stats.creator}</Link></p>
<p className="asset-id">Model Asset ID {stats.asset_id}</p>
<span className="spacer"></span> <span className="spacer"></span>
<Comments comments_data={stats}/> <Comments comments_data={stats}/>
</main> </main>
@ -91,7 +92,7 @@ export default function SubmissionInfoPage() {
<main className="map-page-main"> <main className="map-page-main">
<section className="review-section"> <section className="review-section">
{RatingArea(submission)} {RatingArea(submission)}
<TitleAndComments name={submission.DisplayName} creator={submission.Creator} review={submission.StatusID} comments={[]}/> <TitleAndComments name={submission.DisplayName} creator={submission.Creator} review={submission.StatusID} asset_id={submission.AssetID} comments={[]}/>
</section> </section>
</main> </main>
</Webpage> </Webpage>