commit
d11c482013
|
|
@ -19,6 +19,8 @@ export default function Home({
|
||||||
}: {
|
}: {
|
||||||
state: string
|
state: string
|
||||||
monitors: MonitorTarget[]
|
monitors: MonitorTarget[]
|
||||||
|
tooltip?: string
|
||||||
|
statusPageLink?: string
|
||||||
}) {
|
}) {
|
||||||
let state;
|
let state;
|
||||||
if (stateStr !== undefined) {
|
if (stateStr !== undefined) {
|
||||||
|
|
@ -103,7 +105,9 @@ export async function getServerSideProps() {
|
||||||
return {
|
return {
|
||||||
id: monitor.id,
|
id: monitor.id,
|
||||||
name: monitor.name,
|
name: monitor.name,
|
||||||
|
// @ts-ignore
|
||||||
tooltip: monitor?.tooltip,
|
tooltip: monitor?.tooltip,
|
||||||
|
// @ts-ignore
|
||||||
statusPageLink: monitor?.statusPageLink
|
statusPageLink: monitor?.statusPageLink
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue