Fix UI typos (#14488)

typo fixes for scripts work.


- [x] Manual QA for all new/changed functionality
This commit is contained in:
Gabriel Hernandez 2023-10-12 17:05:58 +01:00 committed by GitHub
parent 2489675546
commit a55b346563
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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 {

View file

@ -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",