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:
Diffstat (limited to 'app/assets/javascripts/grafana_integration/components/grafana_integration.vue')
-rw-r--r--app/assets/javascripts/grafana_integration/components/grafana_integration.vue16
1 files changed, 9 insertions, 7 deletions
diff --git a/app/assets/javascripts/grafana_integration/components/grafana_integration.vue b/app/assets/javascripts/grafana_integration/components/grafana_integration.vue
index 5295b2197d5..59327e36f5f 100644
--- a/app/assets/javascripts/grafana_integration/components/grafana_integration.vue
+++ b/app/assets/javascripts/grafana_integration/components/grafana_integration.vue
@@ -1,11 +1,11 @@
<script>
-import { GlDeprecatedButton, GlFormGroup, GlFormInput, GlFormCheckbox } from '@gitlab/ui';
+import { GlButton, GlFormGroup, GlFormInput, GlFormCheckbox } from '@gitlab/ui';
import { mapState, mapActions } from 'vuex';
import Icon from '~/vue_shared/components/icon.vue';
export default {
components: {
- GlDeprecatedButton,
+ GlButton,
GlFormCheckbox,
GlFormGroup,
GlFormInput,
@@ -56,9 +56,9 @@ export default {
<section id="grafana" class="settings no-animate js-grafana-integration">
<div class="settings-header">
<h3 class="js-section-header h4">
- {{ s__('GrafanaIntegration|Grafana Authentication') }}
+ {{ s__('GrafanaIntegration|Grafana authentication') }}
</h3>
- <gl-deprecated-button class="js-settings-toggle">{{ __('Expand') }}</gl-deprecated-button>
+ <gl-button class="js-settings-toggle">{{ __('Expand') }}</gl-button>
<p class="js-section-sub-header">
{{ s__('GrafanaIntegration|Embed Grafana charts in GitLab issues.') }}
</p>
@@ -93,9 +93,11 @@ export default {
</a>
</p>
</gl-form-group>
- <gl-deprecated-button variant="success" @click="updateGrafanaIntegration">
- {{ __('Save Changes') }}
- </gl-deprecated-button>
+ <div class="gl-display-flex gl-justify-content-end">
+ <gl-button variant="success" category="primary" @click="updateGrafanaIntegration">
+ {{ __('Save Changes') }}
+ </gl-button>
+ </div>
</form>
</div>
</section>