mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 18:26:20 +01:00
Merge branch 'feat/um-86-fix-website-update' into app
This commit is contained in:
commit
7eb9bf46e1
@ -78,7 +78,7 @@ export default function WebsiteEditForm({ values, onSave, onClose }) {
|
|||||||
const [message, setMessage] = useState();
|
const [message, setMessage] = useState();
|
||||||
|
|
||||||
const handleSubmit = async values => {
|
const handleSubmit = async values => {
|
||||||
const { id: websiteId } = values;
|
const { websiteUuid: websiteId } = values;
|
||||||
|
|
||||||
const { ok, data } = await post(websiteId ? `/websites/${websiteId}` : '/websites', values);
|
const { ok, data } = await post(websiteId ? `/websites/${websiteId}` : '/websites', values);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user