Added version on card
This commit is contained in:
parent
a81abb4c2d
commit
eccf7ef03a
2 changed files with 11 additions and 0 deletions
|
|
@ -184,6 +184,16 @@ export default function CollectionCardComponent({
|
|||
{data.user_created && data.user_created.username && (
|
||||
<span className="text-sm text-primary">
|
||||
by <b>{data.user_created.username}</b>
|
||||
{data.last_tested_version && (
|
||||
<>
|
||||
{" "}
|
||||
|{" "}
|
||||
<span className="text-xs">
|
||||
{" "}
|
||||
⛓︎ v{data.last_tested_version}
|
||||
</span>
|
||||
</>
|
||||
)}
|
||||
</span>
|
||||
)}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export type storeComponent = {
|
|||
liked_by_count?: number;
|
||||
liked_by_user?: boolean;
|
||||
user_created?: { username: string };
|
||||
last_tested_version?: string;
|
||||
};
|
||||
|
||||
export type StoreComponentResponse = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue