Skip to content

The only tool you need to know what is happening and how to fix it.

461 B
Raw Blame
import{j as s,g as o,l as n}from"./BKFspo1J.js";import{a as r,p as a}from"./BrdmM8Kw.js";function h(t){return t.title?t.title:t.checkName?`${t.checkName} is down`:"Incident"}class c{#t=s(0);get downChecksCount(){return o(this.#t)}set downChecksCount(e){n(this.#t,e,!0)}async refreshDownCount(){try{const e=await r.get("/synthetics/open-count",{projectId:a.currentProjectId??void 0});this.downChecksCount=e.count??0}catch{}}}const p=new c;export{h as i,p as m};