-
Notifications
You must be signed in to change notification settings - Fork 278
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
Conversation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
…2580) 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" /> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
A timely release would be awesome because of the accidental data loss happening with a wrong mouse click. |
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.