diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-14 09:08:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-14 09:08:49 +0300 |
commit | ca1dcb848f19e854d2022587436fa5bc5f8ef933 (patch) | |
tree | dc59a85ef03ff80b78572f797ece8e3e571ab116 /app/assets/javascripts/work_items/components/work_item_detail_modal.vue | |
parent | 962711501ff8e5a004c700b97a367930ed5a1f20 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/work_items/components/work_item_detail_modal.vue')
-rw-r--r-- | app/assets/javascripts/work_items/components/work_item_detail_modal.vue | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/work_items/components/work_item_detail_modal.vue b/app/assets/javascripts/work_items/components/work_item_detail_modal.vue index 50753c79741..b4f9e38a64a 100644 --- a/app/assets/javascripts/work_items/components/work_item_detail_modal.vue +++ b/app/assets/javascripts/work_items/components/work_item_detail_modal.vue @@ -87,6 +87,9 @@ export default { this.error = ''; this.$emit('close'); }, + hide() { + this.$refs.modal.hide(); + }, setErrorMessage(message) { this.error = message; }, @@ -111,9 +114,11 @@ export default { </gl-alert> <work-item-detail + is-modal :work-item-parent-id="issueGid" :work-item-id="workItemId" class="gl-p-5 gl-mt-n3" + @close="hide" @deleteWorkItem="deleteWorkItem" /> </gl-modal> |