Skip to content

Commit

Permalink
fix: workspace list pagination (#5534)
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-determined-ai authored Dec 2, 2022
1 parent c1a237f commit 4161fc6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webui/react/src/pages/WorkspaceList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ const WorkspaceList: React.FC = () => {

usePolling(fetchWorkspaces);

useEffect(() => {
fetchWorkspaces();
}, [fetchWorkspaces]);

const handleViewSelect = useCallback(
(value: unknown) => {
updateSettings({ whose: value as WhoseWorkspaces | undefined });
Expand Down

0 comments on commit 4161fc6

Please sign in to comment.