From be430667a7c54820e05e0730f148bd664c36bcac Mon Sep 17 00:00:00 2001 From: alexpaxton Date: Thu, 17 Jan 2019 16:37:25 -0800 Subject: [PATCH] Add clone dashboard functionality to orgs dashboard list (#11265) Co-Authored-By: Deniz Kusefoglu --- .../components/dashboard_index/TableRow.tsx | 2 + .../components/DashboardList.tsx | 61 ++++++++++++++++-- .../organizations/components/DashboardRow.tsx | 63 +++++++++++++++---- .../organizations/components/Dashboards.tsx | 14 ++++- .../containers/OrganizationView.tsx | 1 + 5 files changed, 122 insertions(+), 19 deletions(-) diff --git a/ui/src/dashboards/components/dashboard_index/TableRow.tsx b/ui/src/dashboards/components/dashboard_index/TableRow.tsx index 1216c7c2ad..a8575a426c 100644 --- a/ui/src/dashboards/components/dashboard_index/TableRow.tsx +++ b/ui/src/dashboards/components/dashboard_index/TableRow.tsx @@ -13,6 +13,7 @@ import { ConfirmationButton, Stack, Label, + ComponentColor, } from 'src/clockface' import EditableDescription from 'src/shared/components/editable_description/EditableDescription' @@ -72,6 +73,7 @@ export default class DashboardsIndexTableRow extends PureComponent {