diff --git a/client/app/pages/alerts/AlertsList.jsx b/client/app/pages/alerts/AlertsList.jsx index 2b67728f78..5dea765bc6 100644 --- a/client/app/pages/alerts/AlertsList.jsx +++ b/client/app/pages/alerts/AlertsList.jsx @@ -46,6 +46,7 @@ class AlertsList extends React.Component { field: "name", } ), + Columns.custom((text, item) => item.user.name, { title: "Created By" }), Columns.custom.sortable( (text, alert) => (
@@ -59,7 +60,6 @@ class AlertsList extends React.Component { } ), Columns.timeAgo.sortable({ title: "Last Updated At", field: "updated_at", className: "text-nowrap", width: "1%" }), - Columns.avatar({ field: "user", className: "p-l-0 p-r-0" }, name => `Created by ${name}`), Columns.dateTime.sortable({ title: "Created At", field: "created_at", className: "text-nowrap", width: "1%" }), ]; diff --git a/client/app/pages/dashboards/DashboardList.jsx b/client/app/pages/dashboards/DashboardList.jsx index 42df1ed83b..16186bf4c3 100644 --- a/client/app/pages/dashboards/DashboardList.jsx +++ b/client/app/pages/dashboards/DashboardList.jsx @@ -61,7 +61,7 @@ class DashboardList extends React.Component { width: null, } ), - Columns.avatar({ field: "user", className: "p-l-0 p-r-0" }, name => `Created by ${name}`), + Columns.custom((text, item) => item.user.name, { title: "Created By" }), Columns.dateTime.sortable({ title: "Created At", field: "created_at", diff --git a/client/app/pages/dashboards/components/DashboardHeader.jsx b/client/app/pages/dashboards/components/DashboardHeader.jsx index fb5969d081..95b9ca000a 100644 --- a/client/app/pages/dashboards/components/DashboardHeader.jsx +++ b/client/app/pages/dashboards/components/DashboardHeader.jsx @@ -41,7 +41,9 @@ function DashboardPageTitle({ dashboardOptions }) { ignoreBlanks /> - {dashboard.user.name} + + {dashboard.user.name} +
`Created by ${name}`), + Columns.custom((text, item) => item.user.name, { title: "Created By" }), Columns.dateTime.sortable({ title: "Created At", field: "created_at" }), - Columns.duration.sortable({ title: "Runtime", field: "runtime" }), Columns.dateTime.sortable({ title: "Last Executed At", field: "retrieved_at", orderByField: "executed_at" }), Columns.custom.sortable((text, item) => , { - title: "Update Schedule", + title: "Refresh Schedule", field: "schedule", }), ];