feat: whole shops listed on IMVU, and GET /imports/available (#16)
Co-authored-by: dhkatz <[email protected]>
This commit was merged in pull request #16.
This commit is contained in:
1 parent
8f6dacba10
commit
efc7d6b808
15 files changed
+4954
-20
No files matched your search
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
|
||||
import { notFound } from "next/navigation";
|
||||
import { ActionForm, SubmitButton } from "@/components/forms";
|
||||
import { PageHeader, Tag } from "@/components/status";
|
||||
import { ShopListing } from "@/components/shop-listing";
|
||||
import { DateTime } from "@/components/time";
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { Field, FieldDescription, FieldLabel } from "@/components/ui/field";
|
||||
@@ -222,6 +223,7 @@ function RecordedRow({ grant: g }: { grant: Recorded }) {
|
||||
? `The whole shop${g.exclude.length ? `, less ${g.exclude.length} left out` : ""}.`
|
||||
: `${g.products.length} chosen product${g.products.length === 1 ? "" : "s"}.`}{" "}
|
||||
{g.listed ? "Listed." : "Unlisted."}
|
||||
<ShopListing grant={g} />
|
||||
</p>
|
||||
{g.claimed ? (
|
||||
<p className="text-sm text-muted-foreground">The creator claimed it: they manage it now.</p>
|
||||
|
||||
Reference in new issue
Block a user