mcbrewster commented on a change in pull request #7705: Web-Console: add go to
editor button to tasks and supervisors view
URL: https://github.com/apache/incubator-druid/pull/7705#discussion_r286611391
##########
File path: web-console/src/views/tasks-view.tsx
##########
@@ -303,6 +303,16 @@ ORDER BY "rank" DESC, "created_time" DESC`);
onAction: () => this.setState({ terminateSupervisorId: id })
}
];
+ if (type === 'kafka' || type === 'kinesis') {
+ actions.push(
+ {
+ icon: IconNames.WRENCH,
+ title: 'Open in json spec editor',
+ onAction: () => this.props.goToLoadDataView(id)
+ });
+ }
+ // @ts-ignore
Review comment:
when i have icon: IconNames.CROSS or icon: 'cross' I get the error that
string is not assignable to type of IconName
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]