diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-02-15 08:57:10 +0300 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-02-15 08:57:10 +0300 |
commit | 880c0db5d43bb23eade25fa5e644aecc68e17b19 (patch) | |
tree | a71e8cb5c532eecfe7c9f9ddfd62d1dd78d20784 /app/views/shared | |
parent | d9328cb3e3c4e71b02e2a1ceb304997ddebd6fdd (diff) |
Make sure isLocked passed to Vue is a boolean
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/issuable/_sidebar.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml index 0520eda37a4..9596c1df20e 100644 --- a/app/views/shared/issuable/_sidebar.html.haml +++ b/app/views/shared/issuable/_sidebar.html.haml @@ -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 |