MLE: Fix GetEdited (?)
This commit is contained in:
parent
1e98d5a440
commit
4b2c093346
1 changed files with 1 additions and 4 deletions
|
|
@ -355,10 +355,7 @@ export default definePlugin({
|
|||
},
|
||||
|
||||
getEdited(m1, m2) {
|
||||
const editHistory = m2?.editHistory;
|
||||
if (editHistory == null && m1?.editHistory != null && m1.editHistory.length > 0)
|
||||
return m1.editHistory.map(mapTimestamp);
|
||||
return editHistory;
|
||||
return m2?.editHistory ?? m1?.editHistory?.map(mapTimestamp) ?? [];
|
||||
},
|
||||
|
||||
flux: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue