Minor fixes
This commit is contained in:
parent
7d64ea219f
commit
3a218cd3fb
@ -111,7 +111,7 @@ export function UpdateAccommodationDialog(p: {
|
|||||||
<PropCheckbox
|
<PropCheckbox
|
||||||
checkboxAlwaysVisible
|
checkboxAlwaysVisible
|
||||||
editable={accommodation?.open_to_reservations === true}
|
editable={accommodation?.open_to_reservations === true}
|
||||||
label="Validation des réservations requise"
|
label="Validation des réservations par un administrateur requise"
|
||||||
checked={accommodation?.need_validation === true}
|
checked={accommodation?.need_validation === true}
|
||||||
onValueChange={(c) =>
|
onValueChange={(c) =>
|
||||||
setAccommodation((a) => {
|
setAccommodation((a) => {
|
||||||
|
@ -55,7 +55,7 @@ function AccommodationsListCard(): React.ReactElement {
|
|||||||
await accommodations.reloadAccommodationsList();
|
await accommodations.reloadAccommodationsList();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Failed to create accommodation!", e);
|
console.error("Failed to create accommodation!", e);
|
||||||
alert(`Echec de la création du logement! ${e}`);
|
alert(`Échec de la création du logement! ${e}`);
|
||||||
} finally {
|
} finally {
|
||||||
loading.hide();
|
loading.hide();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user