From 1b31c6f80d99470caf82c29dd1ef177bbe9e6153 Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Sat, 24 Jan 2026 23:36:35 +0000 Subject: [PATCH] fix(Open WebUI): install status indicator --- admin/inertia/hooks/useServiceInstalledStatus.tsx | 2 +- admin/inertia/pages/settings/models.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/inertia/hooks/useServiceInstalledStatus.tsx b/admin/inertia/hooks/useServiceInstalledStatus.tsx index b376861..9e1c2cc 100644 --- a/admin/inertia/hooks/useServiceInstalledStatus.tsx +++ b/admin/inertia/hooks/useServiceInstalledStatus.tsx @@ -3,7 +3,7 @@ import { ServiceSlim } from '../../types/services' import api from '~/lib/api' const useServiceInstalledStatus = (serviceName: string) => { - const { data, isFetching } = useQuery({ + const { data, isFetching } = useQuery({ queryKey: ['installed-services'], queryFn: () => api.listServices(), }) diff --git a/admin/inertia/pages/settings/models.tsx b/admin/inertia/pages/settings/models.tsx index 15b68b3..1ddf0d8 100644 --- a/admin/inertia/pages/settings/models.tsx +++ b/admin/inertia/pages/settings/models.tsx @@ -13,7 +13,7 @@ import StyledModal from '~/components/StyledModal' export default function ModelsPage(props: { models: { availableModels: NomadOllamaModel[]; installedModels: OllamaModelListing[] } }) { - const { isInstalled } = useServiceInstalledStatus('nomad_openwebui') + const { isInstalled } = useServiceInstalledStatus('nomad_open_webui') const { addNotification } = useNotifications() const { openModal, closeAllModals } = useModals()