Commit 313b09fc authored by Fatih Acet's avatar Fatih Acet
Browse files

Merge branch 'fix-suggested-colors-options-for-new-labels-in-the-admin-area' into 'master'

Fix suggested colors options for new labels in the admin area

## What does this MR do?

Execute the JS related to the suggested colors options when user access the new label in the admin area.

## Are there points in the code the reviewer needs to double check?


## Why was this MR needed?

Clicking in a suggested color when creating a new label in the admin area don't change the background color.

## Screenshots (if relevant)

* Before


* After


## Does this MR meet the acceptance criteria?

- [X] [CHANGELOG]( entry added
- Tests
  - [ ] Added for this feature/bug
  - [ ] All builds are passing
- [X] Conform by the [style guides](
- [ ] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [X] [Squashed related commits together](

## What are the relevant issue numbers?


See merge request !6138
......@@ -66,6 +66,7 @@ v 8.11.4 (unreleased)
- Fix sorting issues by "last updated" doesn't work after import from GitHub
- GitHub importer use default project visibility for non-private projects
- Creating an issue through our API now emails label subscribers !5720
- Fix suggested colors options for new labels in the admin area
- Block concurrent updates for Pipeline
- Fix resolving conflicts on forks
- Fix diff commenting on merge requests created prior to 8.10
......@@ -199,6 +199,7 @@
case 'labels':
switch (path[2]) {
case 'new':
case 'edit':
new Labels();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment