• Igor Drozdov's avatar
    Move async mergeability check into widget · 138ad560
    Igor Drozdov authored
    Currently Projects::MergeRequestsController#show goes
    into primary sometimes due to the mergeability check
    
    Let's move it to the widget and check it async when
    we load the merge request the first time and sync
    when it's auto refreshed
    
    Visually we have the same behaviour, but merge_requests#show
    action no longer goes to primary
    138ad560
show.html.haml 5.83 KB