Skip to content
Snippets Groups Projects
Commit e975b102 authored by Michele Alberti's avatar Michele Alberti
Browse files

[ivette] Better titles.

parent 329bf2f5
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,10 @@ const LocationsTable = () => { ...@@ -77,7 +77,10 @@ const LocationsTable = () => {
<Space /> <Space />
<Label <Label
className="component-info" className="component-info"
title={`${numberOfSelections} selected location(s)`} title={
`${numberOfSelections} selected ` +
`location${numberOfSelections > 1 ? 's' : ''}`
}
> >
{multiple?.allSelections.length === 0 ? {multiple?.allSelections.length === 0 ?
'0 / 0' : `${multiple?.index + 1} / ${numberOfSelections}`} '0 / 0' : `${multiple?.index + 1} / ${numberOfSelections}`}
...@@ -87,7 +90,7 @@ const LocationsTable = () => { ...@@ -87,7 +90,7 @@ const LocationsTable = () => {
icon="TRASH" icon="TRASH"
onClick={() => updateSelection('MULTIPLE_CLEAR')} onClick={() => updateSelection('MULTIPLE_CLEAR')}
enabled={numberOfSelections > 0} enabled={numberOfSelections > 0}
title="Clear the location(s)" title={`Clear location${numberOfSelections > 1 ? 's' : ''}`}
/> />
</TitleBar> </TitleBar>
<Table <Table
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment