vogievetsky 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_r287170344
########## File path: web-console/src/views/task-view/tasks-view.tsx ########## @@ -503,18 +513,23 @@ ORDER BY "rank" DESC, "created_time" DESC`); </>; } - // -------------------------------------- - - private getTaskActions(id: string, status: string): BasicAction[] { - if (status !== 'RUNNING' && status !== 'WAITING' && status !== 'PENDING') return []; - return [ - { - icon: IconNames.CROSS, + private getTaskActions(id: string, status: string, type: string): BasicAction[] { + const actions = []; + if (type === 'index' || type === 'index_parallel') { + actions.push({ + title: 'Open in data loader', Review comment: Icon please ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org