File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { ServiceSlim } from '../../types/services'
33import api from '~/lib/api'
44
55const useServiceInstalledStatus = ( serviceName : string ) => {
6- const { data, isFetching } = useQuery < ServiceSlim [ ] > ( {
6+ const { data, isFetching } = useQuery < ServiceSlim [ ] | undefined > ( {
77 queryKey : [ 'installed-services' ] ,
88 queryFn : ( ) => api . listServices ( ) ,
99 } )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import StyledModal from '~/components/StyledModal'
1313export default function ModelsPage ( props : {
1414 models : { availableModels : NomadOllamaModel [ ] ; installedModels : OllamaModelListing [ ] }
1515} ) {
16- const { isInstalled } = useServiceInstalledStatus ( 'nomad_openwebui ' )
16+ const { isInstalled } = useServiceInstalledStatus ( 'nomad_open_webui ' )
1717 const { addNotification } = useNotifications ( )
1818 const { openModal, closeAllModals } = useModals ( )
1919
You can’t perform that action at this time.
0 commit comments