Skip to content

Commit

Permalink
Add new model for config for Topo Quads
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Aug 21, 2024
1 parent 046b036 commit 9e0ecbb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const modelFieldUUIDs = {
topo: "2eaaf83f-98f0-4402-b3bc-92b185fcbaa4",
types: "dc00ae2f-e12f-4bc8-934e-97bad18e5237",
videos: "d23eb32a-4157-48f9-bfe8-fc981600a4f8",
topoQuads: "87ad2c7a-cf8f-4be7-af0c-4e63baab6eb3",
};

export const coreDataRelatedEndpoints: TCoreDataRelatedEndpoints[] = [
Expand Down Expand Up @@ -96,6 +97,11 @@ export const coreDataRelatedEndpoints: TCoreDataRelatedEndpoints[] = [
type: "relatedPlaces",
uiLabel: "Related Places",
},
{
uuid: modelFieldUUIDs.topoQuads,
type: "topoQuad",
uiLabel: "Topo Quad",
},
],
},
{
Expand Down
1 change: 1 addition & 0 deletions app/data/coredata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const fetchRelatedRecords = async (id: string) => {
for (const value of Object.values(item.user_defined)) {
// @ts-ignore
item[(value.label as string).toLowerCase()] = value.value;
console.log("🚀 ~ fetchRelatedRecords ~ item:", item);
}
}
// @ts-ignore
Expand Down

0 comments on commit 9e0ecbb

Please sign in to comment.