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

Fix card layout editor crash when editing while reviewing #3814

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iamllama
Copy link
Contributor

Closes #3808

When reviewing, the editor's card and note are set on initial-open, but on reopen, only the note is set. This causes the old (initial) card's ord to be used when opening the card layout editor, which can at best cause the wrong card to be selected and shown, and at worse, throw if the current note doesn't have that many cards/templates

The fix proposed is to set the editor's card when reopening

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

Successfully merging this pull request may close these issues.

Wrong card number when opening template editor
1 participant