Skip to content

Commit

Permalink
found an issue with check dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Heiss committed Jul 18, 2024
1 parent 5c03ff4 commit 259acff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "vikunja-sync",
"name": "Vikunja Sync",
"version": "1.0.8",
"version": "1.0.9",
"minAppVersion": "0.15.0",
"description": "Integrates Vikunja.",
"author": "Peter Heiss",
Expand Down
3 changes: 2 additions & 1 deletion src/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export default class Commands {

checkDependencies() {
let foundProblem = false;
if (this.plugin.settings.chooseOutputFile === chooseOutputFile.DailyNote && appHasDailyNotesPluginLoaded()) {

if (this.plugin.settings.chooseOutputFile === chooseOutputFile.DailyNote && !appHasDailyNotesPluginLoaded()) {
new Notice("Vikunja Plugin: Daily notes core plugin is not loaded. So we cannot create daily note. Please install daily notes core plugin to use Daily Note.")
if (this.plugin.settings.debugging) console.log("Vikunja Plugin: Daily notes core plugin is not loaded. So we cannot create daily note. Please install daily notes core plugin to use Daily Note.");
foundProblem = true;
Expand Down

0 comments on commit 259acff

Please sign in to comment.