vogievetsky commented on a change in pull request #7799: Web-console: update
supervisors table
URL: https://github.com/apache/incubator-druid/pull/7799#discussion_r292202480
##########
File path: web-console/src/views/task-view/tasks-view.tsx
##########
@@ -464,12 +476,13 @@ ORDER BY "rank" DESC, "created_time" DESC`);
{
Header: 'Status',
id: 'status',
- accessor: (row) => row.spec.suspended ? 'Suspended' : 'Running',
- Cell: row => {
- const value = row.value;
+ width: 300,
+ accessor: (row) => {
+ console.log(row);
Review comment:
`console.log`
Also
I think accessor should not return a react element but a string
Save the rendering for the `Cell`
----------------------------------------------------------------
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]