feat: add profile language preferences and refine toast, dropdown and history UI

This commit is contained in:
Mateusz Gruszczyński
2026-09-04 23:48:09 +02:00
parent f036240d5d
commit bf13587a71
42 changed files with 3971 additions and 357 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ const RESOURCE_ACCESS_ERROR_PATTERN = /(?:invalid password|password required|aut
export function isResourceAccessError(error) {
const status = Number(error?.status);
const message = typeof error === "string" ? error : error?.message;
const message = typeof error === "string" ? error : (error?.serverMessage || error?.message);
return status === 401 || RESOURCE_ACCESS_ERROR_PATTERN.test(String(message || ""));
}