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