Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-01 03:09:21 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-01 03:09:21 +0300
commitc01904e236ea0119c3ca11466098d1688abb2681 (patch)
tree38831ab58547f548e2b6deb2106190a818e51d43 /app/assets/javascripts/admin
parent404895390afe87ce8ab939448bf7dff7dc4b7169 (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.vue6
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"
>