Vanessa 2023-01-17 00:50:33 +08:00
parent f49ebee0e8
commit ba41c7db05
2 changed files with 2 additions and 2 deletions

View file

@ -300,7 +300,7 @@ export const JSONToLayout = (isStart: boolean) => {
}
// https://github.com/siyuan-note/siyuan/pull/7086
const openId = getSearch("id");
if (openId !== null) {
if (openId) {
openFileById({
id: openId,
action: [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT],