Skip to content
Snippets Groups Projects
Commit 9e275b14 authored by Michel Engelen's avatar Michel Engelen Committed by Filipa Lacerda
Browse files

added a new conditional to add `display: none;` dynamically if the row should...

added a new conditional to add `display: none;` dynamically if the row should be hidden, indicated by the variable `rowHidden`

this solves issue #9978
parent 2cc6e6ff
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -702,6 +702,10 @@ GitLabDropdown = (function() {
}
html = document.createElement('li');
 
if (rowHidden) {
html.style.display = 'none';
}
if (data === 'divider' || data === 'separator') {
html.className = data;
return html;
Loading
Loading
---
title: "Moved EE/CE code differences for `app/assets/javascripts/gl_dropdown.js` into CE"
merge_request: 28711
author: Michel Engelen
type: other
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment