Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When creating daily note, wait for it to be created before reading headings (fixes #555) #556

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ngokevin
Copy link

@ngokevin ngokevin commented Apr 14, 2024

This fixes the issue of the plugin not finding Events heading immediately after creating Daily Note.

@ngokevin
Copy link
Author

I added a timeout because the wait for read wasn't enough

@ngokevin
Copy link
Author

I changed it to remove the heading check. For me, it was always returning undefined for heading metadata.

@ngokevin
Copy link
Author

Okay, I reverted back to relying on a timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant