Skip to content

Commit

Permalink
OM-332: change tedit tooltip (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
olewandowski1 authored Oct 21, 2024
1 parent d89c0bb commit c00e09f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BillSearcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const BillSearcher = ({
(bill) => (
<div style={{ textAlign: "right" }}>
{rights.includes(RIGHT_BILL_SEARCH) && (
<Tooltip title={formatMessage(intl, "invoice", "editButtonTooltip")}>
<Tooltip title={formatMessage(intl, "invoice", isWorker ? "viewDetailsButtonTooltip" : "editButtonTooltip")}>
<IconButton
href={billUpdatePageUrl(bill)}
onClick={(e) => e.stopPropagation() && onDoubleClick(bill)}
Expand Down
1 change: 1 addition & 0 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"emptyLabel": " ",
"any": "Any",
"editButtonTooltip": "Edit",
"viewDetailsButtonTooltip": "View details",
"deleteButtonTooltip": "Delete",
"dialog": {
"create": "Create",
Expand Down

0 comments on commit c00e09f

Please sign in to comment.