From bf4a9e5c499c9eee9f8b63dbb6733e09e3090fd0 Mon Sep 17 00:00:00 2001 From: Jamie Guthrie Date: Thu, 17 Aug 2023 03:05:50 +0200 Subject: Refactor & set tooltip delay in global env --- modern/src/settings/GroupsPage.js | 1 - modern/src/settings/components/CollectionActions.js | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'modern/src/settings') diff --git a/modern/src/settings/GroupsPage.js b/modern/src/settings/GroupsPage.js index 7148184b..baba7f72 100644 --- a/modern/src/settings/GroupsPage.js +++ b/modern/src/settings/GroupsPage.js @@ -45,7 +45,6 @@ const GroupsPage = () => { const actionCommand = { key: 'command', title: t('deviceCommand'), - tooltip: t('commandSendTitle'), icon: , handler: (groupId) => navigate(`/settings/group/${groupId}/command`), }; diff --git a/modern/src/settings/components/CollectionActions.js b/modern/src/settings/components/CollectionActions.js index 87ffe7af..287be964 100644 --- a/modern/src/settings/components/CollectionActions.js +++ b/modern/src/settings/components/CollectionActions.js @@ -74,20 +74,20 @@ const CollectionActions = ({ ) : (
{customActions && customActions.map((action) => ( - - handleCustom(action)} key={action.key}> + + handleCustom(action)}> {action.icon} ))} {!readonly && ( <> - + - + -- cgit v1.2.3