mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Fix UI typos (#14488)
typo fixes for scripts work. - [x] Manual QA for all new/changed functionality
This commit is contained in:
parent
2489675546
commit
a55b346563
2 changed files with 3 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ const ScriptListItem = ({ script, onDelete }: IScriptListItemProps) => {
|
|||
try {
|
||||
const content = await scriptAPI.downloadScript(script.id);
|
||||
const formatDate = format(new Date(), "yyyy-MM-dd");
|
||||
const filename = `${formatDate}_${script.name}`;
|
||||
const filename = `${formatDate} ${script.name}`;
|
||||
const file = new File([content], filename);
|
||||
FileSaver.saveAs(file);
|
||||
} catch {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@ const STATUS_DISPLAY_CONFIG: Record<
|
|||
pending: {
|
||||
displayText: "Pending",
|
||||
iconStatus: "pendingPartial",
|
||||
tooltip: () => "Script will run when the host comes online.",
|
||||
tooltip: () =>
|
||||
"Script is running. To see if the script finished, refresh the page.",
|
||||
},
|
||||
error: {
|
||||
displayText: "Error",
|
||||
|
|
|
|||
Loading…
Reference in a new issue