diff --git a/nr1.json b/nr1.json index dc9c42f..84d7cf6 100644 --- a/nr1.json +++ b/nr1.json @@ -1,6 +1,6 @@ { "schemaType": "NERDPACK", - "id": "2ca7b314-05f7-4618-894a-54981539975f", + "id": "d997a1e4-423d-4d01-b450-da8a4465f60e", "displayName": "Status Widget Pack", "description": "Status widget visualizations for dashboards" } diff --git a/package-lock.json b/package-lock.json index 4ec74f0..4054314 100644 --- a/package-lock.json +++ b/package-lock.json @@ -216,6 +216,11 @@ "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz", "integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==" }, + "@mantine/hooks": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/@mantine/hooks/-/hooks-7.2.1.tgz", + "integrity": "sha512-v7GKjVQ6SV6dQ+hrs6HDHB50UB+ZXS5hhGp1bo2k6QGF3wcndws+eghCFO5hjKIVSLYm2YoaZxwKiQmjsZBXfQ==" + }, "@newrelic/eslint-plugin-newrelic": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/@newrelic/eslint-plugin-newrelic/-/eslint-plugin-newrelic-0.3.1.tgz", diff --git a/package.json b/package.json index c404baa..5eb5bf1 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "dv2": "2ca7b314-05f7-4618-894a-54981539975f" }, "dependencies": { + "@mantine/hooks": "^7.2.1", "@newrelic/nr1-community": "^1.2.0", "async": "^3.2.0", "lodash.groupby": "^4.6.0", diff --git a/visualizations/status-table/status-table-widget.js b/visualizations/status-table/status-table-widget.js index 8c638f7..c648e98 100644 --- a/visualizations/status-table/status-table-widget.js +++ b/visualizations/status-table/status-table-widget.js @@ -139,6 +139,8 @@ export default function StatusTableWidget(props) { } if (nrdbResult?.error) { + // eslint-disable-next-line + console.log('nrdb error ->', nrdbResult); return ( ); } else { + // eslint-disable-next-line + console.log('unhandled case', nrdbResult, props); return <>; } }