8 lines
457 B
Text
8 lines
457 B
Text
%resolve-discussion-btn{ ":discussion-id" => "'#{discussion.id}'",
|
|
":merge-request-id" => discussion.noteable.iid,
|
|
":can-resolve" => discussion.can_resolve?(current_user),
|
|
"inline-template" => true }
|
|
.btn-group{ role: "group", "v-if" => "showButton" }
|
|
%button.btn.btn-default{ type: "button", "@click" => "resolve", ":disabled" => "loading", "v-cloak" => "true" }
|
|
= icon("spinner spin", "v-show" => "loading")
|
|
{{ buttonText }}
|