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 updating checkbox state and avoid issues due to duplicate sidebar element #2584

Merged
merged 2 commits into from
Nov 19, 2020

Conversation

juliusknorr
Copy link
Member

Fixes #2580

Besides the fix for replacing the proper description this also required some adjustment to make sure that the actual card sidebar was not hidden in the DOM during editing in the modal.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@@ -37,7 +37,7 @@
</div>
</Modal>

<router-view v-show="!cardDetailsInModal || !$route.params.cardId" name="sidebar" />
<router-view name="sidebar" :visible="!cardDetailsInModal || !$route.params.cardId" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't use v-if directly on the router-view?

Copy link
Member Author

@juliusknorr juliusknorr Nov 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be some issue with the nested router views that are used for sub-routes, where the router tried to render the component to a non-existing router-view element then. That is why I went that way for now. But I have that on my list to investigate further, so this is more a temporary workaround to fix the bug.

@der-flo
Copy link

der-flo commented Nov 22, 2020

A timely release would be awesome because of the accidental data loss happening with a wrong mouse click.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Usage of tasklist in description deletes entire description
3 participants