If I'm understanding correctly, the is_file() function should have the logical eval flipped, such that it allows for the case where the currently focused tab (leaf) is not a file, which I interpret to mean "a saved file in the obsidian vault."
This doesn't change that it's strange for this condition to prevent viewing the tab, though, since that seems a little backwards to me 🤷♂️
Cheers
edit: I'll also note that it appears to have fixed the issue for me, but I have not tested it rigorously.
If I'm understanding correctly, the
is_file()
function should have the logical eval flipped, such that it allows for the case where the currently focused tab (leaf
) is not a file, which I interpret to mean "a saved file in the obsidian vault."This doesn't change that it's strange for this condition to prevent viewing the tab, though, since that seems a little backwards to me 🤷♂️
Cheers
edit: I'll also note that it appears to have fixed the issue for me, but I have not tested it rigorously.