Skip to content

Issue related to using await in live preview #2300

@holroy

Description

@holroy

What happened?

Using Obsidian 1.5.12 and Dataview 0.5.66, it seems like dv.view() fails to render in live preview, but they're working just as normal in reading mode. This is tested in the Sandbox vault with no other plugins installed on Mac Os Catalina. It just shows the - indicator, and no error messages.

DQL

`$= await dv.view("js/test") `

JS

// in the file "js/test.js"

dv.header(2, "test")

Dataview Version

0.5.66

Obsidian Version

Present in 1.5.11 and 1.5.12

OS

MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions