- added prettier config file
- improved sound state to remove pooling - increased size of naviagtion arrows and fixed navigation onClick - decreased width of nav bar - fixed button to reveal passwords in some password fields
This commit is contained in:
@@ -34,9 +34,7 @@ const updateDispatcherConfig = async (data: BearerTypeFieldType) => {
|
||||
};
|
||||
|
||||
const getBackOfficeConfig = async () => {
|
||||
const response = await fetch(
|
||||
`${CAM_BASE}/api/fetch-config?id=Dispatcher-json`
|
||||
);
|
||||
const response = await fetch(`${CAM_BASE}/api/fetch-config?id=Dispatcher-json`);
|
||||
if (!response.ok) throw new Error("Cannot get Back Office configuration");
|
||||
return response.json();
|
||||
};
|
||||
@@ -67,13 +65,10 @@ const updateBackOfficeConfig = async (data: InitialValuesForm) => {
|
||||
},
|
||||
],
|
||||
};
|
||||
const response = await fetch(
|
||||
`${CAM_BASE}/api/update-config?id=Dispatcher-json`,
|
||||
{
|
||||
method: "POST",
|
||||
body: JSON.stringify(updateConfigPayload),
|
||||
}
|
||||
);
|
||||
const response = await fetch(`${CAM_BASE}/api/update-config?id=Dispatcher-json`, {
|
||||
method: "POST",
|
||||
body: JSON.stringify(updateConfigPayload),
|
||||
});
|
||||
if (!response.ok) throw new Error("Cannot update Back Office configuration");
|
||||
return response.json();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user