mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
4a4540359f
commit
210139a26c
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ const getUnInitTab = (options: IOpenFileOptions) => {
|
||||||
item.headElement.setAttribute("data-initdata", JSON.stringify(initObj));
|
item.headElement.setAttribute("data-initdata", JSON.stringify(initObj));
|
||||||
item.parent.switchTab(item.headElement);
|
item.parent.switchTab(item.headElement);
|
||||||
return true;
|
return true;
|
||||||
} else if (initObj.instance === "Custom" && objEquals(initObj.customModelData, options.custom.data)) {
|
} else if (initObj.instance === "Custom" && options.custom && objEquals(initObj.customModelData, options.custom.data)) {
|
||||||
item.parent.switchTab(item.headElement);
|
item.parent.switchTab(item.headElement);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue