Merge branch '57744-fix-vue-warning-for-is-locked' into 'master'

Make sure isLocked passed to Vue is a boolean

Closes #57744

See merge request gitlab-org/gitlab-ce!25284
This commit is contained in:
Fatih Acet 2019-02-15 23:07:45 +00:00
commit d06c3ac3ff

View file

@ -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