feat(i18n, agents, players): enhance localization and improve agent and player management interfaces
Some checks failed
lotteryadmin CI / build (push) Has been cancelled
Some checks failed
lotteryadmin CI / build (push) Has been cancelled
Updated localization files for English and Nepali, adding new entries and refining existing translations for better clarity. Enhanced the agent management interface with improved delegation features and child agent creation prompts. Improved player management functionalities, including confirmation dialogs for player actions and better handling of player creation and editing processes.
This commit is contained in:
@@ -28,6 +28,15 @@ adminHttp.interceptors.response.use(
|
||||
if (isAdminAuthRejected(error)) {
|
||||
handleAdminAuthRejected();
|
||||
}
|
||||
if (isAxiosError(error) && typeof window !== "undefined") {
|
||||
const status = error.response?.status;
|
||||
if (status === 500 || status === 502 || status === 503) {
|
||||
console.error("[admin-http] upstream unavailable", status);
|
||||
}
|
||||
if (!error.response && error.message?.includes("Network Error")) {
|
||||
console.error("[admin-http] network offline or upstream unreachable");
|
||||
}
|
||||
}
|
||||
return Promise.reject(error);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user