fix: Dont save if value is same
This commit is contained in:
parent
cb2729424b
commit
d2c4e21cca
@ -517,9 +517,12 @@ export default class CellManager {
|
||||
}
|
||||
|
||||
promise = valuePromise.then((value) => {
|
||||
const done = editor.setValue(value, rowIndex, col);
|
||||
const oldValue = this.getCell(colIndex, rowIndex).content;
|
||||
|
||||
if (oldValue === value) return;
|
||||
|
||||
const done = editor.setValue(value, rowIndex, col);
|
||||
|
||||
// update cell immediately
|
||||
this.updateCell(colIndex, rowIndex, value);
|
||||
$cell.focus();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user