diff --git a/ui/src/components/Applications/Sources.tsx b/ui/src/components/Applications/Sources.tsx index ef5199f31f..82a1300fb1 100644 --- a/ui/src/components/Applications/Sources.tsx +++ b/ui/src/components/Applications/Sources.tsx @@ -21,6 +21,7 @@ const WGApplicationsSources: FC = ({ className }: any) => { retry: false, refetchInterval: 5000, }); + const { setNotifications } = useNotifications(); useEffect(() => { diff --git a/ui/src/components/Applications/index.tsx b/ui/src/components/Applications/index.tsx index ba671c030e..6fea252fe4 100644 --- a/ui/src/components/Applications/index.tsx +++ b/ui/src/components/Applications/index.tsx @@ -30,7 +30,7 @@ const WGApplicationsDashboard: FC = ({ className }: any) => { ); const { data: automations, isLoading } = useListAutomations('', { - enabled: isExplorerEnabled, + enabled: !isExplorerEnabled, retry: false, refetchInterval: 5000, });