mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -146,7 +146,7 @@ export const openOutline = async (options: {
|
||||
wnd = getWndByLayout(window.siyuan.layout.centerLayout);
|
||||
}
|
||||
const newWnd = wnd.split("lr");
|
||||
if (options.title) {
|
||||
if (!options.title) {
|
||||
const response = await fetchSyncPost("api/block/getDocInfo", {id: options.rootId});
|
||||
options.title = response.data.name || window.siyuan.languages.untitled;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user