Skip to content

Fix updating checkbox state and avoid issues due to duplicate sidebar element#2584

Merged
juliusknorr merged 2 commits intomasterfrom
bugfix/2580
Nov 19, 2020
Merged

Fix updating checkbox state and avoid issues due to duplicate sidebar element#2584
juliusknorr merged 2 commits intomasterfrom
bugfix/2580

Conversation

@juliusknorr
Copy link
Copy Markdown
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>
Comment thread src/App.vue
</Modal>

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

@juliusknorr juliusknorr requested a review from skjnldsv November 19, 2020 11:19
@der-flo
Copy link
Copy Markdown

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