Commit cdd7e185 authored by Alfredo Sumaran's avatar Alfredo Sumaran Committed by Jacob Schatz

Fixes failing spec

parent 73e043d1
......@@ -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?
......
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