Skip to content

Commit

Permalink
fix(frontend): fix root nodes page infinite loading when project expo…
Browse files Browse the repository at this point in the history
…rted (#413)

fix root nodes page infinite loading if project exported
  • Loading branch information
perierc authored Feb 15, 2024
1 parent 0b51a77 commit ee90d96
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions taxonomy-editor-frontend/src/pages/root-nodes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@ const RootNodes = ({
// fetch root nodes after receiving project status
enabled:
!!info &&
[ProjectStatus.OPEN, ProjectStatus.CLOSED].includes(
info.status as ProjectStatus
),
[
ProjectStatus.OPEN,
ProjectStatus.CLOSED,
ProjectStatus.EXPORTED,
].includes(info.status as ProjectStatus),
});

let nodeIds: string[] = [];
Expand Down

0 comments on commit ee90d96

Please sign in to comment.