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>2022-07-19 06:08:49 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-19 06:08:49 +0300
commit7747c98443fd19821e89b3107fd784b417fe6216 (patch)
tree85f54e18bcef3da89c17f201d06ac5eca8f39a38 /app/assets/javascripts/vue_shared/components/usage_quotas
parent91d37b971433b16c25ec501429ac643f9c49839e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/usage_quotas')
-rw-r--r--app/assets/javascripts/vue_shared/components/usage_quotas/usage_banner.vue24
1 files changed, 20 insertions, 4 deletions
diff --git a/app/assets/javascripts/vue_shared/components/usage_quotas/usage_banner.vue b/app/assets/javascripts/vue_shared/components/usage_quotas/usage_banner.vue
index 1ac822982e1..779a2ab5461 100644
--- a/app/assets/javascripts/vue_shared/components/usage_quotas/usage_banner.vue
+++ b/app/assets/javascripts/vue_shared/components/usage_quotas/usage_banner.vue
@@ -25,13 +25,21 @@ export default {
>
<div class="gl-display-flex gl-flex-direction-column gl-xs-mb-3 gl-min-w-0 gl-flex-grow-1">
<div
- v-if="$slots['left-primary-text']"
+ v-if="
+ /* eslint-disable-line @gitlab/vue-prefer-dollar-scopedslots */ $slots[
+ 'left-primary-text'
+ ]
+ "
class="gl-display-flex gl-align-items-center gl-text-body gl-font-weight-bold gl-min-h-6 gl-min-w-0"
>
<slot name="left-primary-text"></slot>
</div>
<div
- v-if="$slots['left-secondary-text']"
+ v-if="
+ /* eslint-disable-line @gitlab/vue-prefer-dollar-scopedslots */ $slots[
+ 'left-secondary-text'
+ ]
+ "
class="gl-display-flex gl-align-items-center gl-text-gray-500 gl-min-h-6 gl-min-w-0 gl-flex-grow-1 gl-w-70p gl-md-max-w-70p"
>
<slot name="left-secondary-text"></slot>
@@ -41,13 +49,21 @@ export default {
class="gl-display-flex gl-flex-direction-column gl-sm-align-items-flex-end gl-justify-content-space-between gl-text-gray-500 gl-flex-shrink-0"
>
<div
- v-if="$slots['right-primary-text']"
+ v-if="
+ /* eslint-disable-line @gitlab/vue-prefer-dollar-scopedslots */ $slots[
+ 'right-primary-text'
+ ]
+ "
class="gl-display-flex gl-align-items-center gl-sm-text-body gl-sm-font-weight-bold gl-min-h-6"
>
<slot name="right-primary-text"></slot>
</div>
<div
- v-if="$slots['right-secondary-text']"
+ v-if="
+ /* eslint-disable-line @gitlab/vue-prefer-dollar-scopedslots */ $slots[
+ 'right-secondary-text'
+ ]
+ "
class="gl-display-flex gl-align-items-center gl-min-h-6"
>
<slot v-if="!loading" name="right-secondary-text"></slot>