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:
@@ -296,7 +296,6 @@ export class Zabbix implements ZabbixConnector {
|
||||
}
|
||||
|
||||
getAllGroups() {
|
||||
console.log(this.zabbixAPI.getGroups());
|
||||
return this.zabbixAPI.getGroups();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user