diff --git a/CHANGELOG.md b/CHANGELOG.md index a4bc849e660..6cbfb91ebe1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Bug Fixes ### UI Improvements +1. [11764](https://github.com/influxdata/influxdb/pull/11764): Move the download telegraf config button to view config overlay ## v2.0.0-alpha.2 [2019-02-07] diff --git a/ui/src/organizations/components/CollectorList.tsx b/ui/src/organizations/components/CollectorList.tsx index 016a0f36ab9..91447e152dd 100644 --- a/ui/src/organizations/components/CollectorList.tsx +++ b/ui/src/organizations/components/CollectorList.tsx @@ -13,7 +13,6 @@ import {getDeep} from 'src/utils/wrappers' interface Props { collectors: Telegraf[] emptyState: JSX.Element - onDownloadConfig: (telegrafID: string, telegrafName: string) => void onDelete: (telegrafID: string) => void onUpdate: (telegraf: Telegraf) => void onOpenInstructions: (telegrafID: string) => void @@ -42,7 +41,6 @@ export default class CollectorList extends PureComponent { public get collectorsList(): JSX.Element[] { const { collectors, - onDownloadConfig, onDelete, onUpdate, onOpenInstructions, @@ -55,7 +53,6 @@ export default class CollectorList extends PureComponent { key={collector.id} collector={collector} bucket={getDeep(collector, 'plugins.0.config.bucket', '')} - onDownloadConfig={onDownloadConfig} onDelete={onDelete} onUpdate={onUpdate} onOpenInstructions={onOpenInstructions} diff --git a/ui/src/organizations/components/CollectorRow.tsx b/ui/src/organizations/components/CollectorRow.tsx index 489ecc7d871..4296c3b3bd9 100644 --- a/ui/src/organizations/components/CollectorRow.tsx +++ b/ui/src/organizations/components/CollectorRow.tsx @@ -17,7 +17,6 @@ import EditableName from 'src/shared/components/EditableName' interface Props { collector: Telegraf bucket: string - onDownloadConfig: (telegrafID: string, telegrafName: string) => void onDelete: (telegrafID: string) => void onUpdate: (telegraf: Telegraf) => void onOpenInstructions: (telegrafID: string) => void @@ -39,12 +38,6 @@ export default class CollectorRow extends PureComponent { {bucket} -