diff options
author | Fatih Acet <acetfatih@gmail.com> | 2019-02-16 02:07:45 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2019-02-16 02:07:45 +0300 |
commit | d06c3ac3ff868a28a445c34b831e7aa6c2154d9c (patch) | |
tree | ef69196b3e4f34994f2ee8316a7c5297b9cfb0f5 /app/views | |
parent | 94c045bdcb6068a7f625a6d618767d43c9cfb5b3 (diff) | |
parent | 880c0db5d43bb23eade25fa5e644aecc68e17b19 (diff) |
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
Diffstat (limited to 'app/views')
-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 |