Skip to content

Commit 0d484e9

Browse files
fix: invalid arrow function parameters
thrown by closure compiler used with Sencha CMD 7.4
1 parent 59f3a2b commit 0d484e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/MessageItemSim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Ext.define("conjoon.dev.cn_mailsim.data.MessageItemSim", {
198198
result = MessageTable.updateMessageBody(keys.mailAccountId, keys.mailFolderId, keys.id, values);
199199
} else {
200200
result = MessageTable.updateMessageItem(keys.mailAccountId, keys.mailFolderId, keys.id, values);
201-
result = Object.fromEntries(Object.entries(result).filter(([key, value]) => !!values[key]));
201+
result = Object.fromEntries(Object.entries(result).filter((entry) => !!values[entry[0]]));
202202
}
203203

204204
Ext.Array.forEach(me.responseProps, function (prop) {

0 commit comments

Comments
 (0)