Skip to content

Commit

Permalink
Use apps hook if explorer isnt enabled (#3746)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlinaGoaga authored Dec 29, 2023
1 parent 7b4d577 commit e07951c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ui/src/components/Applications/Sources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const WGApplicationsSources: FC = ({ className }: any) => {
retry: false,
refetchInterval: 5000,
});

const { setNotifications } = useNotifications();

useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Applications/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const WGApplicationsDashboard: FC = ({ className }: any) => {
);

const { data: automations, isLoading } = useListAutomations('', {
enabled: isExplorerEnabled,
enabled: !isExplorerEnabled,
retry: false,
refetchInterval: 5000,
});
Expand Down

0 comments on commit e07951c

Please sign in to comment.