Fix message.

This commit is contained in:
Mike Cao 2023-04-19 16:42:42 -07:00
parent dbafc98142
commit 1d9cb0d7c7
3 changed files with 4 additions and 3 deletions

View File

@ -99,7 +99,7 @@ export const labels = defineMessages({
all: { id: 'label.all', defaultMessage: 'All' },
sessions: { id: 'label.sessions', defaultMessage: 'Sessions' },
pageNotFound: { id: 'message.page-not-found', defaultMessage: 'Page not found' },
logs: { id: 'label.activity-log', defaultMessage: 'Activity log' },
activityLog: { id: 'label.activity-log', defaultMessage: 'Activity log' },
dismiss: { id: 'label.dismiss', defaultMessage: 'Dismiss' },
poweredBy: { id: 'label.powered-by', defaultMessage: 'Powered by {name}' },
pageViews: { id: 'label.page-views', defaultMessage: 'Page views' },

View File

@ -142,7 +142,7 @@ export default function RealtimeLog({ data, websiteDomain }) {
return (
<div className={styles.table}>
<FilterButtons items={buttons} selectedKey={filter} onSelect={setFilter} />
<div className={styles.header}>{formatMessage(labels.logs)}</div>
<div className={styles.header}>{formatMessage(labels.activityLog)}</div>
<div className={styles.body}>
{logs?.length === 0 && <NoData />}
{logs?.length > 0 && (

View File

@ -9,7 +9,7 @@
align-items: center;
justify-content: space-between;
font-size: var(--font-size-md);
line-height: 50px;
line-height: 40px;
font-weight: 700;
}
@ -42,6 +42,7 @@
.detail {
display: flex;
align-items: center;
flex: 1;
gap: 10px;
white-space: nowrap;