diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-11 19:41:57 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-11 19:41:57 +0300 |
commit | 37a4f502bee74fae5130e2a518fee8dd335d3789 (patch) | |
tree | 38ebedfdf5115cdf855276541af4ecbfbf1f0e31 /app/views/projects/notes/_note.html.haml | |
parent | 3082a1195cc0939e0aa0b48a9f59dd84152ebdad (diff) |
Fix resolve spinner and add test
Diffstat (limited to 'app/views/projects/notes/_note.html.haml')
-rw-r--r-- | app/views/projects/notes/_note.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/notes/_note.html.haml b/app/views/projects/notes/_note.html.haml index c12c05eeb73..1f021ad77e5 100644 --- a/app/views/projects/notes/_note.html.haml +++ b/app/views/projects/notes/_note.html.haml @@ -52,11 +52,10 @@ ":aria-label" => "buttonText", "@click" => "resolve", ":title" => "buttonText", - "v-show" => "!loading", ":ref" => "'button'" } - = icon("spin spinner", "v-show" => "loading") - = render "shared/icons/icon_status_success.svg" + = icon("spin spinner", "v-show" => "loading", class: 'loading') + %div{ 'v-show' => '!loading' }= render "shared/icons/icon_status_success.svg" - if current_user - if note.emoji_awardable? |