Update error message in NewWeeklyReport component
This commit is contained in:
parent
a5ea74c996
commit
7c995573ef
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ export default function NewWeeklyReport(): JSX.Element {
|
|||
const success = await handleNewWeeklyReport();
|
||||
if (!success) {
|
||||
alert(
|
||||
"A Time Report for this week already exists, please go to the edit page to edit it or change week number.",
|
||||
"Error occurred! Your connection to the server might be lost or a time report for this week already exists, please check your connection or go to the edit page to edit your report or change week number.",
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue