Skip to content

Remove all params that match the defaults for createFlash

What does this MR do?

Remove all params that match the defaults for createFlash. This is a follow-up of the update from deprecatedCreateFlash to createFlash.

The defaults are:

type = FLASH_TYPES.ALERT
parent = document
actionConfig = null
fadeTransition = true
addBodyClass = false
captureError = false
error = null

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

Related to #334144 (closed)

Edited by Justin Ho Tuan Duong

Merge request reports

Loading