Skip to content

Commit

Permalink
fix: Read project data from the 'projects' key while loading the regi…
Browse files Browse the repository at this point in the history
…stry state in the Feast UI
  • Loading branch information
boliri committed Nov 20, 2024
1 parent cde5760 commit 8bb1156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/FeastUISansProviders.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ test("full app rendering", async () => {
expect(screen.getByText(/Explore this Project/i)).toBeInTheDocument();

const projectNameRegExp = new RegExp(
parsedRegistry.projectMetadata[0].project!,
parsedRegistry.projects[0].spec.name!,
"i"
);

Expand Down
2 changes: 1 addition & 1 deletion ui/src/queries/useLoadRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const useLoadRegistry = (url: string) => {
// });

return {
project: objects.projectMetadata[0].project!,
project: objects.projects[0].spec.name!,
objects,
mergedFVMap,
mergedFVList,
Expand Down

0 comments on commit 8bb1156

Please sign in to comment.