feat: add sight short_name and sight features

This commit is contained in:
2026-04-19 22:36:14 +03:00
parent beb9e932ef
commit 938a7e6d1e
7 changed files with 84 additions and 9 deletions

View File

@@ -237,6 +237,21 @@ export const CreateInformationTab = observer(
variant="outlined"
/>
<TextField
label={`Сокращенное название (${language.toUpperCase()})`}
value={data.short_name || ""}
onChange={(e) => {
handleChange(
{
short_name: e.target.value,
},
language
);
}}
fullWidth
variant="outlined"
/>
<TextField
label="Адрес"
value={data.address}

View File

@@ -241,6 +241,18 @@ export const InformationTab = observer(
variant="outlined"
/>
<TextField
label={`Сокращенное название (${language.toUpperCase()})`}
value={sight[language].short_name || ""}
onChange={(e) => {
handleChange(language as Language, {
short_name: e.target.value,
});
}}
fullWidth
variant="outlined"
/>
<TextField
label="Адрес"
value={sight[language].address}