Make sure isLocked passed to Vue is a boolean
This commit is contained in:
parent
d9328cb3e3
commit
880c0db5d4
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@
|
|||
#js-confidential-entry-point
|
||||
|
||||
-# haml-lint:disable InlineJavaScript
|
||||
%script#js-lock-issue-data{ type: "application/json" }= { is_locked: issuable_sidebar[:discussion_locked], is_editable: can_edit_issuable }.to_json.html_safe
|
||||
%script#js-lock-issue-data{ type: "application/json" }= { is_locked: !!issuable_sidebar[:discussion_locked], is_editable: can_edit_issuable }.to_json.html_safe
|
||||
#js-lock-entry-point
|
||||
|
||||
.js-sidebar-participants-entry-point
|
||||
|
|
Loading…
Reference in a new issue