Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
wuruipeng.liuliu committed May 20, 2022
1 parent a426177 commit 6a7be76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ async function loadDatas(
async function insertSomeBlocks(e, isToday: boolean = false) {
if (logseq.settings?.session == null || logseq.settings?.session == "") {
logseq.App.showMsg("请配置session");
return;
}
let data: Array<IBatchBlock> = await loadDatas(isToday);
if(data == null || data.length==0){
Expand Down

0 comments on commit 6a7be76

Please sign in to comment.