diff --git a/package.json b/package.json index 3dfbf1d..54e96a0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logseq-journals-nextprev", "description": "Provides buttons to jump to the next or previous journal entry", - "version": "1.1.2", + "version": "1.1.3", "main": "dist/index.html", "author": "Matthew Scheffel", "scripts": { diff --git a/src/App.vue b/src/App.vue index d9183bf..0f9b061 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,7 +4,7 @@ methods: { async _onDaySelect ({ event, name }) { - console.log("onDaySelect: " + name) + console.debug("onDaySelect: " + name) if (event.shiftKey) { logseq.Editor.openInRightSidebar(name) } else { @@ -25,7 +25,7 @@ try { ret = await logseq.DB.datascriptQuery(` - [:find (pull ?p [*]) + [:find (pull ?p [:block/journal-day :block/name]) :where [?b :block/page ?p] [?p :block/journal? true] @@ -44,7 +44,7 @@ try { ret = await logseq.DB.datascriptQuery(` - [:find (pull ?p [*]) + [:find (pull ?p [:block/journal-day :block/name]) :where [?b :block/page ?p] [?p :block/journal? true] @@ -53,7 +53,7 @@ `) } catch (e) { console.error(e) - } + } return this._cleanJournalQueryReturn(ret) },