mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 22:27:16 +01:00
Account editing and change password.
This commit is contained in:
parent
b5cf9f8719
commit
b392a51676
23 changed files with 230 additions and 102 deletions
|
|
@ -9,7 +9,7 @@ import Code from 'assets/code.svg';
|
|||
import { get } from 'lib/web';
|
||||
import Modal from './common/Modal';
|
||||
import WebsiteEditForm from './forms/WebsiteEditForm';
|
||||
import WebsiteDeleteForm from './forms/WebsiteDeleteForm';
|
||||
import DeleteForm from './forms/DeleteForm';
|
||||
import WebsiteCodeForm from './forms/WebsiteCodeForm';
|
||||
import styles from './WebsiteSettings.module.css';
|
||||
|
||||
|
|
@ -88,7 +88,11 @@ export default function WebsiteSettings() {
|
|||
)}
|
||||
{deleteWebsite && (
|
||||
<Modal title="Delete website">
|
||||
<WebsiteDeleteForm values={deleteWebsite} onSave={handleSave} onClose={handleClose} />
|
||||
<DeleteForm
|
||||
values={{ type: 'website', id: deleteWebsite.website_id, name: deleteWebsite.name }}
|
||||
onSave={handleSave}
|
||||
onClose={handleClose}
|
||||
/>
|
||||
</Modal>
|
||||
)}
|
||||
{showCode && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue