Skip to content

Commit e07951c

Browse files
authored
Use apps hook if explorer isnt enabled (#3746)
1 parent 7b4d577 commit e07951c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ui/src/components/Applications/Sources.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const WGApplicationsSources: FC = ({ className }: any) => {
2121
retry: false,
2222
refetchInterval: 5000,
2323
});
24+
2425
const { setNotifications } = useNotifications();
2526

2627
useEffect(() => {

ui/src/components/Applications/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const WGApplicationsDashboard: FC = ({ className }: any) => {
3030
);
3131

3232
const { data: automations, isLoading } = useListAutomations('', {
33-
enabled: isExplorerEnabled,
33+
enabled: !isExplorerEnabled,
3434
retry: false,
3535
refetchInterval: 5000,
3636
});

0 commit comments

Comments
 (0)