File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Homepage: ROFL-Powered Apps: Standardize “Last Activity” column header
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { useTranslation } from 'react-i18next'
33import { TableAgeType } from '../../../types/table-age-type'
44import { exhaustedTypeWarning } from '../../../types/errors'
55import { useLocalSettings } from '../../hooks/useLocalSettings'
6- import { getTimeZone } from '../../hooks/useFormattedTimestamp'
76import { TableHeaderToggle } from '../TableHeaderToggle'
87
98type TableHeaderAgeProps = {
@@ -19,11 +18,9 @@ export const TableHeaderAge: FC<TableHeaderAgeProps> = ({ label }) => {
1918
2019 switch ( ageHeaderType ) {
2120 case TableAgeType . DateTime : {
22- const timeZone = getTimeZone ( )
23-
2421 return (
2522 < TableHeaderToggle
26- label = { ` ${ t ( 'table.headers.dateTime.title' ) } ${ timeZone ? `( ${ timeZone } )` : '' } ` }
23+ label = { label || t ( 'common.age' ) }
2724 onClick = { ( ) => changeSetting ( 'ageHeaderType' , TableAgeType . Distance ) }
2825 tooltipTitle = { t ( 'table.headers.dateTime.tooltipTitle' ) }
2926 />
You can’t perform that action at this time.
0 commit comments