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 a card is added to anki, audio and image is saved even if the user doesn't have media fields #39

Open
xyaman opened this issue Jun 25, 2024 · 0 comments
Labels
anki bug Something isn't working low Priority

Comments

@xyaman
Copy link
Collaborator

xyaman commented Jun 25, 2024

The function storeMediaFile in extension/src/services/ankiservices.js saves all the media data even if the user doesn't have media fields in their settings.

A fix would be to check if there are media fields being used before saving.

@Natsume-197 Natsume-197 added bug Something isn't working low Priority labels Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
anki bug Something isn't working low Priority
Projects
Status: Todo
Development

No branches or pull requests

2 participants