Skip to content

Fix errors when board sidebar is closed

Scott Stern requested to merge ss/fix-close-sidebar-errors into master

What does this MR do?

When closing sidebar in Issue/Epic boards we had a lot of errors because of activeBoardItem being unset.

This MR just provides a default state so the errors stop coming up.

Before

2021-07-01_12.53.46

After

2021-07-01_12.55.12

Repro

  • Go to any board, issue and epic
  • Open the sidebar by clicking on a list item
  • Close the sidebar and inspect the console

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Scott Stern

Merge request reports

Loading