diff options
Diffstat (limited to 'app/assets/javascripts/super_sidebar/components/pinned_section.vue')
-rw-r--r-- | app/assets/javascripts/super_sidebar/components/pinned_section.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/super_sidebar/components/pinned_section.vue b/app/assets/javascripts/super_sidebar/components/pinned_section.vue index ea3e9e9df1f..05040218164 100644 --- a/app/assets/javascripts/super_sidebar/components/pinned_section.vue +++ b/app/assets/javascripts/super_sidebar/components/pinned_section.vue @@ -84,8 +84,8 @@ export default { return { ...i, title }; }); }, - onPinRemove(itemId) { - this.$emit('pin-remove', itemId); + onPinRemove(itemId, itemTitle) { + this.$emit('pin-remove', itemId, itemTitle); }, }, }; @@ -113,7 +113,7 @@ export default { :key="item.id" :item="item" is-in-pinned-section - @pin-remove="onPinRemove" + @pin-remove="onPinRemove(item.id, item.title)" /> </draggable> <li v-else class="gl-text-secondary gl-font-sm gl-py-3" style="margin-left: 2.5rem"> |