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

Bug when new attachment location is set to 'vault folder' #30

Closed
waspeer opened this issue Sep 14, 2023 · 1 comment
Closed

Bug when new attachment location is set to 'vault folder' #30

waspeer opened this issue Sep 14, 2023 · 1 comment

Comments

@waspeer
Copy link

waspeer commented Sep 14, 2023

Thanks for making this plugin!

I found an issue where the plugin crashes when the setting 'Default location for new attachments' is set to 'Vault folder'. I've set a breakpoint on the line I've linked below and attachmentFolderPath is undefined in this case, causing an error when trying to call startsWith on it.

this.app.vault.config.attachmentFolderPath;

@JYC333 JYC333 closed this as completed in 60084b3 Oct 26, 2023
@JYC333
Copy link
Owner

JYC333 commented Oct 26, 2023

Hi, thanks for using it! And sorry for the late reply. It should be fixed in 2.1.1 now.

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

No branches or pull requests

2 participants