From 2c87d475077bac326254b2625e45db0c4e977f5d Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sun, 26 Jun 2022 11:50:01 +0300 Subject: [PATCH] fix --- client/src/views/record/list.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/views/record/list.js b/client/src/views/record/list.js index 689051b90e..35c1d4c8aa 100644 --- a/client/src/views/record/list.js +++ b/client/src/views/record/list.js @@ -1600,7 +1600,9 @@ define( return; } - if (options && options.previousDataList) { + options = options || {}; + + if (options.previousDataList) { let currentDataList = this.collection.models.map(model => { return Espo.Utils.cloneDeep(model.attributes); });