Skip to content

Changes the conditional render of the tree component on diffs

Phil Hughes requested to merge ph/223086/changeConditionalRenderDiffTree into master

What does this MR do?

Changes the v-show for the diff file tree component to v-if as this is something that doesn't get toggled often. If it is closed, we save some memory on components getting created.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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

Closes #223086 (closed)

Merge request reports