diff options
Diffstat (limited to 'app/assets/javascripts/operation_settings/components/form_group/external_dashboard.vue')
-rw-r--r-- | app/assets/javascripts/operation_settings/components/form_group/external_dashboard.vue | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/app/assets/javascripts/operation_settings/components/form_group/external_dashboard.vue b/app/assets/javascripts/operation_settings/components/form_group/external_dashboard.vue deleted file mode 100644 index 2ea5b4e01b1..00000000000 --- a/app/assets/javascripts/operation_settings/components/form_group/external_dashboard.vue +++ /dev/null @@ -1,48 +0,0 @@ -<script> -import { GlFormGroup, GlFormInput } from '@gitlab/ui'; -import { mapState, mapActions } from 'vuex'; - -export default { - components: { - GlFormGroup, - GlFormInput, - }, - computed: { - ...mapState(['externalDashboard']), - userDashboardUrl: { - get() { - return this.externalDashboard.url; - }, - set(url) { - this.setExternalDashboardUrl(url); - }, - }, - }, - methods: { - ...mapActions(['setExternalDashboardUrl']), - }, -}; -</script> - -<template> - <gl-form-group - :label="s__('MetricsSettings|External dashboard URL')" - label-for="external-dashboard-url" - > - <template #description> - {{ - s__( - 'MetricsSettings|Add a button to the metrics dashboard linking directly to your existing external dashboard.', - ) - }} - </template> - <!-- placeholder with a url is a false positive --> - <!-- eslint-disable @gitlab/vue-require-i18n-attribute-strings --> - <gl-form-input - id="external-dashboard-url" - v-model="userDashboardUrl" - placeholder="https://my-org.gitlab.io/my-dashboards" - /> - <!-- eslint-enable @gitlab/vue-require-i18n-attribute-strings --> - </gl-form-group> -</template> |