Commit 585259b8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix merge state detection

parent ba1a453e
...@@ -31,7 +31,7 @@ class MergeRequest ...@@ -31,7 +31,7 @@ class MergeRequest
if this.$('.automerge_widget').length and @opts.check_enable if this.$('.automerge_widget').length and @opts.check_enable
$.get @opts.url_to_automerge_check, (data) => $.get @opts.url_to_automerge_check, (data) =>
this.showState( data.state ) this.showState( data.merge_status )
, 'json' , 'json'
if @opts.ci_enable if @opts.ci_enable
......
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