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_r287170242
 
 

 ##########
 File path: web-console/src/views/task-view/tasks-view.tsx
 ##########
 @@ -279,9 +279,17 @@ ORDER BY "rank" DESC, "created_time" DESC`);
     this.taskQueryManager.rerunLastQuery();
   }
 
-  private getSupervisorActions(id: string, supervisorSuspended: boolean): 
BasicAction[] {
-    return [
-      {
+  private getSupervisorActions(id: string, supervisorSuspended: boolean, type: 
string): BasicAction[] {
+    const actions = [];
+    if (type === 'kafka' || type === 'kinesis') {
+      actions.push(
+        {
+          icon: IconNames.WRENCH,
 
 Review comment:
   Please use the same icon as the data loader

----------------------------------------------------------------
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

Reply via email to