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 ...@@ -237,13 +237,12 @@ class GitLabDropdown
html = @options.renderRow(data) html = @options.renderRow(data)
else else
selected = if @options.isSelected then @options.isSelected(data) else false selected = if @options.isSelected then @options.isSelected(data) else false
url = if @options.url then @options.url(data) else "#"
# Set URL # Set URL
if @options.url? if @options.url?
url = @options.url(data) url = @options.url(data)
else else
url = if data.url? then data.url else '' url = if data.url? then data.url else '#'
# Set Text # Set Text
if @options.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