Skip to content

Commit 24635d7

Browse files
committed
repology
1 parent 15468ab commit 24635d7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

web/src/components/app.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface AppProps {
1212
repo: string;
1313
}
1414

15-
type FieldType = "link" | "version" | "size" | "date" | "hash" | "files" | "number" | "metric" | "category" | "default" | "links" | "tags";
15+
type FieldType = "link" | "version" | "size" | "date" | "hash" | "files" | "number" | "metric" | "category" | "default" | "links" | "tags" | "repology";
1616

1717
interface ResolverField {
1818
label: string;
@@ -26,7 +26,7 @@ const resolver: { [key: string]: ResolverField } = {
2626
pkg_name: { label: "Package Name", type: "default" },
2727
pkg_id: { label: "Package ID", type: "default" },
2828
bsum: { label: "BLAKE3SUM", type: "hash" },
29-
repology: { label: "Repology", type: "tags" },
29+
repology: { label: "Repology", type: "repology" },
3030
appstream: { label: "AppStream", type: "link" },
3131
license: { label: "License", type: "default" },
3232
snapshots: { label: "Snapshots", type: "version" },
@@ -167,7 +167,7 @@ function Show({ value, Key, props }: { value: any, props: AppProps, Key?: string
167167
</div>
168168
);
169169

170-
case "files":
170+
case "repology":
171171
const repology = value as string[];
172172
return (
173173
<div className="flex flex-wrap gap-1">

0 commit comments

Comments
 (0)