Commit 4b5a0805 authored by StreatCodes's avatar StreatCodes
Browse files

remove log add comment

parent 9c605b9c
......@@ -22,7 +22,8 @@ export async function getIcingaCheckState(checkId, checkType) {
export async function getAllDashboards() {
const res = await fetch('/dashboard')
const data = await res.json();
console.log(data);
//handle Go trolling us (returns empty slices of builtins as nil)
if(data === null) {
return [];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment