diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-01 03:09:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-01 03:09:21 +0300 |
commit | c01904e236ea0119c3ca11466098d1688abb2681 (patch) | |
tree | 38831ab58547f548e2b6deb2106190a818e51d43 /app/assets/javascripts/admin | |
parent | 404895390afe87ce8ab939448bf7dff7dc4b7169 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/admin')
-rw-r--r-- | app/assets/javascripts/admin/abuse_report/components/report_actions.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/admin/abuse_report/components/report_actions.vue b/app/assets/javascripts/admin/abuse_report/components/report_actions.vue index bb6e022da54..25b22afbf84 100644 --- a/app/assets/javascripts/admin/abuse_report/components/report_actions.vue +++ b/app/assets/javascripts/admin/abuse_report/components/report_actions.vue @@ -56,9 +56,9 @@ export default { }; }, computed: { - drawerOffsetTop() { + getDrawerHeaderHeight() { if (!this.showActionsDrawer || gon.use_new_navigation) return '0'; - return getContentWrapperHeight('.content-wrapper'); + return getContentWrapperHeight(); }, isFormValid() { return Object.values(this.validationState).every(Boolean); @@ -124,7 +124,7 @@ export default { </gl-button> <gl-drawer :open="showActionsDrawer" - :header-height="drawerOffsetTop" + :header-height="getDrawerHeaderHeight" :z-index="$options.DRAWER_Z_INDEX" @close="toggleActionsDrawer" > |