diff --git a/client/app/pages/alerts/AlertsList.jsx b/client/app/pages/alerts/AlertsList.jsx
index 5dea765bc6..c8217b4764 100644
--- a/client/app/pages/alerts/AlertsList.jsx
+++ b/client/app/pages/alerts/AlertsList.jsx
@@ -94,7 +94,7 @@ class AlertsList extends React.Component {
totalCount={controller.totalItemsCount}
itemsPerPage={controller.itemsPerPage}
page={controller.page}
- onChange={page => controller.updatePagination({ page })}
+ onChange={(page) => controller.updatePagination({ page })}
/>
)}
@@ -123,5 +123,5 @@ const AlertsListPage = itemsList(
export default routeWithUserSession({
path: "/alerts",
title: "Alerts",
- render: pageProps => ,
+ render: (pageProps) => ,
});
diff --git a/client/app/pages/dashboards/DashboardList.jsx b/client/app/pages/dashboards/DashboardList.jsx
index 16186bf4c3..4253b0657a 100644
--- a/client/app/pages/dashboards/DashboardList.jsx
+++ b/client/app/pages/dashboards/DashboardList.jsx
@@ -89,7 +89,7 @@ class DashboardList extends React.Component {
className="m-b-10"
options={controller.pageSizeOptions}
value={controller.itemsPerPage}
- onChange={itemsPerPage => controller.updatePagination({ itemsPerPage })}
+ onChange={(itemsPerPage) => controller.updatePagination({ itemsPerPage })}
/>
@@ -114,7 +114,7 @@ class DashboardList extends React.Component {
totalCount={controller.totalItemsCount}
itemsPerPage={controller.itemsPerPage}
page={controller.page}
- onChange={page => controller.updatePagination({ page })}
+ onChange={(page) => controller.updatePagination({ page })}
/>
)}
@@ -141,7 +141,7 @@ const DashboardListPage = itemsList(
}[currentPage];
},
getItemProcessor() {
- return item => new Dashboard(item);
+ return (item) => new Dashboard(item);
},
}),
() => new UrlStateStorage({ orderByField: "created_at", orderByReverse: true })
@@ -151,11 +151,11 @@ export default [
routeWithUserSession({
path: "/dashboards",
title: "Dashboards",
- render: pageProps => ,
+ render: (pageProps) => ,
}),
routeWithUserSession({
path: "/dashboards/favorites",
title: "Favorite Dashboards",
- render: pageProps => ,
+ render: (pageProps) => ,
}),
];
diff --git a/client/app/pages/dashboards/components/DashboardHeader.jsx b/client/app/pages/dashboards/components/DashboardHeader.jsx
index 95b9ca000a..4a1c0bac20 100644
--- a/client/app/pages/dashboards/components/DashboardHeader.jsx
+++ b/client/app/pages/dashboards/components/DashboardHeader.jsx
@@ -20,7 +20,7 @@ import { DashboardStatusEnum } from "../hooks/useDashboard";
import "./DashboardHeader.less";
function getDashboardTags() {
- return getTags("api/dashboards/tags").then(tags => map(tags, t => t.name));
+ return getTags("api/dashboards/tags").then((tags) => map(tags, (t) => t.name));
}
function buttonType(value) {
@@ -36,7 +36,7 @@ function DashboardPageTitle({ dashboardOptions }) {
updateDashboard({ name })}
+ onDone={(name) => updateDashboard({ name })}
value={dashboard.name}
ignoreBlanks
/>
@@ -51,7 +51,7 @@ function DashboardPageTitle({ dashboardOptions }) {
isArchived={dashboard.is_archived}
canEdit={canEditDashboard}
getAvailableTags={getDashboardTags}
- onEdit={tags => updateDashboard({ tags })}
+ onEdit={(tags) => updateDashboard({ tags })}
/>
);
@@ -87,7 +87,7 @@ function RefreshButton({ dashboardOptions }) {
placement="bottomRight"
overlay={