Skip to content

Commit 2f3fa90

Browse files
committed
Fix typings
1 parent 1ee248f commit 2f3fa90

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

packages/app/src/app/components/CreateNewSandbox/CreateSandbox/Explore/SearchResults/ExploreResultList.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ const Results = (props: ResultsProps) => {
5454
source: {
5555
template: hit.template,
5656
},
57+
collection: {
58+
team: hit.team,
59+
},
5760
},
5861
})),
5962
};

packages/app/src/app/components/CreateNewSandbox/CreateSandbox/utils/api.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ interface IExploreTemplate {
1717
icon_url: string;
1818
color: string;
1919
};
20+
collection?: {
21+
team: {
22+
name: string;
23+
};
24+
};
2025
git: {
2126
id: string;
2227
username: string;
@@ -49,6 +54,7 @@ const mapAPIResponseToTemplateInfo = (
4954
source: {
5055
template: sandbox.environment,
5156
},
57+
collection: sandbox.collection,
5258
git: sandbox.git && {
5359
id: sandbox.git.id,
5460
username: sandbox.git.username,

0 commit comments

Comments
 (0)