Compare commits

..

1 Commits

Author SHA1 Message Date
Crowdin Bot
ddf920d195 New Crowdin translations by GitHub Action 2025-11-21 00:35:50 +00:00
3 changed files with 7 additions and 13 deletions

View File

@@ -787,7 +787,7 @@
"downloadCount": "Poradie",
"downloadBytesRemaining": "Zostávajúce",
"downloadTotalBytes": "Veľkosť",
"downloadSpeed": "Rýchlosť"
"downloadSpeed": "Speed"
},
"kavita": {
"seriesCount": "Series",
@@ -953,7 +953,7 @@
"loading": "Načítava sa",
"open": "Open - US Market",
"closed": "Closed - US Market",
"invalidConfiguration": "Neplatná konfigurácia"
"invalidConfiguration": "Invalid Configuration"
},
"frigate": {
"cameras": "Kamery",
@@ -1023,10 +1023,10 @@
"loading": "Načítava sa"
},
"gitlab": {
"groups": "Skupiny",
"issues": "Problémy",
"groups": "Groups",
"issues": "Issues",
"merges": "Merge Requests",
"projects": "Projekty"
"projects": "Projects"
},
"apcups": {
"status": "Stav",
@@ -1036,7 +1036,7 @@
},
"karakeep": {
"bookmarks": "Bookmarks",
"favorites": "Obľúbené",
"favorites": "Favorites",
"archived": "Archived",
"highlights": "Highlights",
"lists": "Zoznamy",

View File

@@ -14,8 +14,6 @@ export default function Error({ error }) {
if (typeof error === "string") {
error = { message: error }; // eslint-disable-line no-param-reassign
} else if (typeof error === "number") {
error = { message: `Error ${error}` }; // eslint-disable-line no-param-reassign
}
if (error?.data?.error) {

View File

@@ -166,11 +166,7 @@ export default function Component({ service }) {
refreshInterval: Math.max(1000, refreshInterval),
});
// if mappings includes an error field and the data contains an error field then show data even if there is an error
const mappingsIncludesError = Array.isArray(mappings) && mappings.find((mapping) => mapping.field === "error");
const errorIsData = customData && typeof customData === "object" && "error" in customData;
if (customError && !(mappingsIncludesError && errorIsData)) {
if (customError) {
return <Container service={service} error={customError} />;
}