Commit 679db733 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '216881-fix-close-button-showing-for-unauthorized-users' into 'master'

Fix label `x` button showing for unauthorized users

See merge request gitlab-org/gitlab!45189
parents 4eeb3b33 fc0a3218
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
<template> <template>
<labels-select <labels-select
class="block labels js-labels-block" class="block labels js-labels-block"
:allow-label-remove="true" :allow-label-remove="allowLabelEdit"
:allow-label-create="allowLabelCreate" :allow-label-create="allowLabelCreate"
:allow-label-edit="allowLabelEdit" :allow-label-edit="allowLabelEdit"
:allow-multiselect="true" :allow-multiselect="true"
......
...@@ -128,7 +128,7 @@ export default { ...@@ -128,7 +128,7 @@ export default {
<template> <template>
<labels-select-vue <labels-select-vue
:allow-label-remove="true" :allow-label-remove="canUpdate"
:allow-label-edit="canUpdate" :allow-label-edit="canUpdate"
:allow-label-create="true" :allow-label-create="true"
:allow-multiselect="true" :allow-multiselect="true"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment