diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-13 18:09:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-13 18:09:08 +0300 |
commit | ff430539d5299de3a066cb8397b302626761a745 (patch) | |
tree | 45d06b279990581c8cee5d4136715572bc696ec4 /app/assets/javascripts/monitoring/components/dashboards_dropdown.vue | |
parent | ce34395e91c28f282eeff3792caee84438ebb8a0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/monitoring/components/dashboards_dropdown.vue')
-rw-r--r-- | app/assets/javascripts/monitoring/components/dashboards_dropdown.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/monitoring/components/dashboards_dropdown.vue b/app/assets/javascripts/monitoring/components/dashboards_dropdown.vue index 0e96d57b8a1..574f48a72fe 100644 --- a/app/assets/javascripts/monitoring/components/dashboards_dropdown.vue +++ b/app/assets/javascripts/monitoring/components/dashboards_dropdown.vue @@ -44,8 +44,8 @@ export default { computed: { ...mapState('monitoringDashboard', ['allDashboards']), ...mapGetters('monitoringDashboard', ['selectedDashboard']), - isSystemDashboard() { - return this.selectedDashboard?.system_dashboard; + isOutOfTheBoxDashboard() { + return this.selectedDashboard?.out_of_the_box_dashboard; }, selectedDashboardText() { return this.selectedDashboard?.display_name; @@ -139,7 +139,7 @@ export default { This Duplicate Dashboard item will be removed from the dashboards dropdown in https://gitlab.com/gitlab-org/gitlab/-/issues/223223 --> - <template v-if="isSystemDashboard"> + <template v-if="isOutOfTheBoxDashboard"> <gl-dropdown-divider /> <gl-dropdown-item v-gl-modal="modalId" data-testid="duplicateDashboardItem"> |