Fix moment rendering bug (#2199)

While we are rendering Problems table for each cell we use a different
renderer. For `Age` field we didn't pass the data properly and it caused
errors. The problem is we were trying to render the whole moment object
instead of just the datatime.

Part of: https://github.com/grafana/grafana-zabbix/issues/2197

This PR will fix the issue. This happens when user wants to add a new
panel with `Age` field or try to edit a problems panel `Age` field
enabled.

Kudos to @yesoreyeram
This commit is contained in:
ismail simsek
2026-01-14 20:25:48 +01:00
committed by GitHub
parent 4e6a75c93d
commit 592380851c
4 changed files with 121 additions and 2 deletions

View File

@@ -296,7 +296,6 @@ export class Zabbix implements ZabbixConnector {
}
getAllGroups() {
console.log(this.zabbixAPI.getGroups());
return this.zabbixAPI.getGroups();
}