[Admin Panel] fix invalid uuid issue on health status (#13619)
Health status queries are failing at the moment - regression was
introduced in 01f25519f6
health status ids are not uuids, we use params to fetch them on the
frontend.
But maybe @FelixMalfait and @abdulrahmancodes have more context on this
one?
This commit is contained in:
+2
-1
@@ -2,6 +2,7 @@ import { createContext } from 'react';
|
||||
import {
|
||||
AdminPanelHealthServiceData,
|
||||
AdminPanelHealthServiceStatus,
|
||||
HealthIndicatorId,
|
||||
} from '~/generated/graphql';
|
||||
|
||||
type SettingsAdminIndicatorHealthContextType = {
|
||||
@@ -11,7 +12,7 @@ type SettingsAdminIndicatorHealthContextType = {
|
||||
export const SettingsAdminIndicatorHealthContext =
|
||||
createContext<SettingsAdminIndicatorHealthContextType>({
|
||||
indicatorHealth: {
|
||||
id: '',
|
||||
id: HealthIndicatorId.app,
|
||||
label: '',
|
||||
description: '',
|
||||
errorMessage: '',
|
||||
|
||||
Reference in New Issue
Block a user