mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 04:25:39 +01:00
Merge branch 'dev' into feat/um-62-prisma-property-names
This commit is contained in:
commit
3143765954
9 changed files with 30 additions and 29 deletions
|
|
@ -78,7 +78,8 @@ export default function WebsiteEditForm({ values, onSave, onClose }) {
|
|||
const [message, setMessage] = useState();
|
||||
|
||||
const handleSubmit = async values => {
|
||||
const { websiteId } = values;
|
||||
const { id: websiteId } = values;
|
||||
|
||||
const { ok, data } = await post(websiteId ? `/websites/${websiteId}` : '/websites', values);
|
||||
|
||||
if (ok) {
|
||||
|
|
@ -137,7 +138,6 @@ export default function WebsiteEditForm({ values, onSave, onClose }) {
|
|||
defaultMessage="Enable share URL"
|
||||
/>
|
||||
}
|
||||
value={null}
|
||||
/>
|
||||
)}
|
||||
</Field>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue