mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Update copy for scripts status tooltip (#16089)
- Add period after parentheses. First word in the "time-ago" timestamp is always lowercase.
This commit is contained in:
parent
c37f5cfe20
commit
4739f6d9e5
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ const STATUS_DISPLAY_CONFIG: Record<
|
|||
displayText: "Ran",
|
||||
iconStatus: "success",
|
||||
tooltip: (executedAt) =>
|
||||
`Script ran and exited with exit code 0. (${executedAt} ago)`,
|
||||
`Script ran and exited with exit code 0 (${executedAt} ago).`,
|
||||
},
|
||||
pending: {
|
||||
displayText: "Pending",
|
||||
|
|
@ -37,7 +37,7 @@ const STATUS_DISPLAY_CONFIG: Record<
|
|||
displayText: "Error",
|
||||
iconStatus: "error",
|
||||
tooltip: (executedAt) =>
|
||||
`Script ran and exited with a non-zero exit code. (${executedAt} ago)`,
|
||||
`Script ran and exited with a non-zero exit code (${executedAt} ago).`,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue