We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0993c commit 4f756f6Copy full SHA for 4f756f6
index.js
@@ -54,11 +54,7 @@ async function openRandomNote() {
54
const pages = ret?.flat();
55
for (let i = 0; i < pages.length; i++) {
56
const block = pages[i];
57
- if (
58
- block.parent && block.page &&
59
- block.parent?.id === block.page?.id &&
60
- (await logseq.Editor.getPreviousSiblingBlock(block.uuid)) == null
61
- ) {
+ if (block["pre-block?"]) {
62
pages[i] = await logseq.Editor.getPage(block.page.id);
63
}
64
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "logseq-random-note",
3
- "version": "1.0.8",
+ "version": "1.0.9",
4
"author": "TankCool",
5
"main": "dist/index.html",
6
"description": "Random walk through your Logseq notes.",
0 commit comments