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/monitoring/pages/dashboard_page.vue')
-rw-r--r--app/assets/javascripts/monitoring/pages/dashboard_page.vue29
1 files changed, 0 insertions, 29 deletions
diff --git a/app/assets/javascripts/monitoring/pages/dashboard_page.vue b/app/assets/javascripts/monitoring/pages/dashboard_page.vue
deleted file mode 100644
index df0e2d7f8f6..00000000000
--- a/app/assets/javascripts/monitoring/pages/dashboard_page.vue
+++ /dev/null
@@ -1,29 +0,0 @@
-<script>
-import { mapActions } from 'vuex';
-import Dashboard from '../components/dashboard.vue';
-
-export default {
- components: {
- Dashboard,
- },
- props: {
- dashboardProps: {
- type: Object,
- required: true,
- },
- },
- created() {
- // This is to support the older URL <project>/-/environments/:env_id/metrics?dashboard=:path
- // and the new format <project>/-/metrics/:dashboardPath
- const encodedDashboard = this.$route.query.dashboard || this.$route.params.dashboard;
- const currentDashboard = encodedDashboard ? decodeURIComponent(encodedDashboard) : null;
- this.setCurrentDashboard({ currentDashboard });
- },
- methods: {
- ...mapActions('monitoringDashboard', ['setCurrentDashboard']),
- },
-};
-</script>
-<template>
- <dashboard v-bind="{ ...dashboardProps }" />
-</template>