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

in minimal docs progressbar dvjs query is not correct #810

Open
simonfossom opened this issue Nov 23, 2024 · 0 comments
Open

in minimal docs progressbar dvjs query is not correct #810

simonfossom opened this issue Nov 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@simonfossom
Copy link

Is the bug present when using the default Obsidian theme?

Yes

Is the bug present when snippets and plugins are disabled?

Yes

Minimal theme version

7.7.18

Describe the bug

correct query is:

= const value = Math.round(((dv.current().file.tasks.where(t => t.completed).length) / (dv.current().file.tasks).length || 0) * 100); "<progress value='" + value + "' max='100'></progress>" + " " + value + "%"

Debug info

enter query from the docs and you'll see.

@simonfossom simonfossom added the bug Something isn't working label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant