From a06a85e329afd3f58b245d69ded9c06b81cfcd13 Mon Sep 17 00:00:00 2001 From: sct Date: Mon, 29 Mar 2021 15:49:49 +0900 Subject: [PATCH] refactor(ui): change view details button on logs page to an icon --- src/components/Settings/SettingsLogs/index.tsx | 15 +++++++++++++-- src/i18n/locale/en.json | 1 - 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/components/Settings/SettingsLogs/index.tsx b/src/components/Settings/SettingsLogs/index.tsx index 055eebb29..b7eda0565 100644 --- a/src/components/Settings/SettingsLogs/index.tsx +++ b/src/components/Settings/SettingsLogs/index.tsx @@ -34,7 +34,6 @@ const messages = defineMessages({ showall: 'Show All Logs', pauseLogs: 'Pause', resumeLogs: 'Resume', - viewDetails: 'View Details', copyToClipboard: 'Copy to Clipboard', logDetails: 'Log Details', extraData: 'Additional Data', @@ -361,7 +360,19 @@ const SettingsLogs: React.FC = () => { onClick={() => setActiveLog(row)} className="mr-2" > - {intl.formatMessage(messages.viewDetails)} + + + + )}