web: alarm list: show inverter name

rename alarm table header "String" to "Event"

Signed-off-by: Peter H. Demus <peter@demus.de>
This commit is contained in:
Peter H. Demus 2023-09-25 21:13:37 +02:00
parent 3a29d6c258
commit 9e09dc5530
2 changed files with 3 additions and 2 deletions

View file

@ -424,6 +424,7 @@ class RestApi {
record_t<> *rec = iv->getRecordStruct(RealTimeRunData_Debug);
obj[F("iv_id")] = id;
obj[F("iv_name")] = String(iv->config->name);
obj[F("cnt")] = iv->alarmCnt;
obj[F("last_id")] = iv->getChannelFieldValue(CH0, FLD_EVT, rec);