list row without id, fallback to index

This commit is contained in:
Yuri Kuznetsov
2025-11-28 15:35:54 +02:00
parent e4e3a4dc17
commit da564bc43c

View File

@@ -3165,7 +3165,7 @@ class ListRecordView extends View {
* @param {function(module:view):void} [callback] A callback.
*/
buildRow(i, model, callback) {
const key = model.id;
const key = model.id ?? i.toString();
this.rowList.push(key);