Fixed jump tp button being hidden
This commit is contained in:
parent
9398ee7f2f
commit
8539396216
1 changed files with 8 additions and 9 deletions
|
@ -1,10 +1,9 @@
|
|||
- discussion = local_assigns.fetch(:discussion, false)
|
||||
- if discussion.resolvable?
|
||||
%jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" }
|
||||
.btn-group{ role: "group",
|
||||
"v-show" => "!allResolved" }
|
||||
%button.btn.btn-default.discussion-next-btn.has-tooltip{ "@click" => "jumpToNextUnresolvedDiscussion",
|
||||
title: "Jump to next unresolved discussion",
|
||||
"aria-label" => "Jump to next unresolved discussion",
|
||||
data: { container: "body" } }
|
||||
= custom_icon("next_discussion")
|
||||
%jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" }
|
||||
.btn-group{ role: "group",
|
||||
"v-show" => "!allResolved" }
|
||||
%button.btn.btn-default.discussion-next-btn.has-tooltip{ "@click" => "jumpToNextUnresolvedDiscussion",
|
||||
title: "Jump to next unresolved discussion",
|
||||
"aria-label" => "Jump to next unresolved discussion",
|
||||
data: { container: "body" } }
|
||||
= custom_icon("next_discussion")
|
||||
|
|
Loading…
Reference in a new issue