Skip to content

Remove unnecessary v-if statement

Savas Vedova requested to merge 420060-remove-unnecessary-v-if into master

What does this MR do and why?

This is a tiny refactor that removes the unnecessary v-if statement from the component's root element. Parent components importing action_buttons will handle this logic.

Screenshots or screen recordings

No change.

How to set up and validate locally

  1. Fork https://gitlab.com/gitlab-org/frontend/playground/gitlab-mr-widgets-demo
  2. Create an MR by modifying README.md file
  3. Check the MR page, the widgets should load as expected.
  4. Alternatively, run the tests: yarn jest

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #420060 (closed)

Merge request reports