diff --git a/security/etpro-telemetry/src/opnsense/www/js/widgets/ETProTelemetry.js b/security/etpro-telemetry/src/opnsense/www/js/widgets/ETProTelemetry.js index ada8b232b..66c638b4d 100644 --- a/security/etpro-telemetry/src/opnsense/www/js/widgets/ETProTelemetry.js +++ b/security/etpro-telemetry/src/opnsense/www/js/widgets/ETProTelemetry.js @@ -58,15 +58,13 @@ export default class ETProTelemetry extends BaseTableWidget { } async onMarkupRendered() { - await ajaxGet('/api/core/system/systemInformation', {}, (data, status) => { - let rows = []; - rows.push([[''], '']); - rows.push([[this.translations['sensor_status']], $('').prop('outerHTML')]); - rows.push([[this.translations['event_received']], $('').prop('outerHTML')]); - rows.push([[this.translations['last_rule_download']], $('').prop('outerHTML')]); - rows.push([[this.translations['last_heartbeat']], $('').prop('outerHTML')]); + let rows = []; + rows.push([[''], '']); + rows.push([[this.translations['sensor_status']], $('').prop('outerHTML')]); + rows.push([[this.translations['event_received']], $('').prop('outerHTML')]); + rows.push([[this.translations['last_rule_download']], $('').prop('outerHTML')]); + rows.push([[this.translations['last_heartbeat']], $('').prop('outerHTML')]); - super.updateTable('ETProTelemetry-table', rows); - }); + super.updateTable('ETProTelemetry-table', rows); } } \ No newline at end of file