mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
a3c2e5c437
commit
c4f42142a8
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ export class Outline extends Model {
|
|||
});
|
||||
if (!needReload && ops.undoOperations) {
|
||||
ops.undoOperations.find((item: IOperation) => {
|
||||
if (item.action === "update" && item.data.indexOf('data-type="NodeHeading"') > -1) {
|
||||
if (item.action === "update" && item.data?.indexOf('data-type="NodeHeading"') > -1) {
|
||||
needReload = true;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue