mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-17 08:36:06 +10:00
Fixes failing spec
This commit is contained in:
@@ -237,13 +237,12 @@ class GitLabDropdown
|
||||
html = @options.renderRow(data)
|
||||
else
|
||||
selected = if @options.isSelected then @options.isSelected(data) else false
|
||||
url = if @options.url then @options.url(data) else "#"
|
||||
|
||||
# Set URL
|
||||
if @options.url?
|
||||
url = @options.url(data)
|
||||
else
|
||||
url = if data.url? then data.url else ''
|
||||
url = if data.url? then data.url else '#'
|
||||
|
||||
# Set Text
|
||||
if @options.text?
|
||||
|
||||
Reference in New Issue
Block a user