diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-05 03:09:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-05 03:09:16 +0300 |
commit | 4fd77e112fac07c5b904668b7d5f500589f8d2d5 (patch) | |
tree | a7f82bdc0eaba09f1aaafc484509bfe4b664c954 /app/assets/javascripts/issue_show | |
parent | 8a55c3263f1f37fdc9ee772bc0d38133dfe94495 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/issue_show')
-rw-r--r-- | app/assets/javascripts/issue_show/components/header_actions.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/issue_show/components/header_actions.vue b/app/assets/javascripts/issue_show/components/header_actions.vue index 76fc7d0cb47..e59c8fd837c 100644 --- a/app/assets/javascripts/issue_show/components/header_actions.vue +++ b/app/assets/javascripts/issue_show/components/header_actions.vue @@ -81,7 +81,7 @@ export default { }) .then(({ data }) => { if (data.updateIssue.errors.length) { - createFlash(data.updateIssue.errors.join('. ')); + createFlash({ message: data.updateIssue.errors.join('. ') }); return; } @@ -95,7 +95,7 @@ export default { // Dispatch event which updates open/close state, shared among the issue show page document.dispatchEvent(new CustomEvent('issuable_vue_app:change', payload)); }) - .catch(() => createFlash(__('Update failed. Please try again.'))) + .catch(() => createFlash({ message: __('Update failed. Please try again.') })) .finally(() => { this.isUpdatingState = false; }); |