From 900c7d518b883a5f340037b1851f9393c127d4f1 Mon Sep 17 00:00:00 2001 From: Alexis Rico Date: Tue, 17 Sep 2019 13:23:50 +0200 Subject: [PATCH] Fix warning of sortable is undefined --- src/components/rules-list-page/SyncRulesPage.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/rules-list-page/SyncRulesPage.jsx b/src/components/rules-list-page/SyncRulesPage.jsx index b64f45723..e336ef6ef 100644 --- a/src/components/rules-list-page/SyncRulesPage.jsx +++ b/src/components/rules-list-page/SyncRulesPage.jsx @@ -86,7 +86,11 @@ class SyncRulesPage extends React.Component { sortable: true, getValue: ({ enabled }) => (enabled ? i18n.t("Enabled") : i18n.t("Disabled")), }, - { name: "lastExecuted", text: i18n.t("Last executed") }, + { + name: "lastExecuted", + text: i18n.t("Last executed"), + sortable: true, + }, ]; detailsFields = [