mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
Updated pages and referrer filters to merge urls.
This commit is contained in:
parent
e75593443a
commit
3a515b56b2
21 changed files with 342 additions and 137 deletions
|
|
@ -6,6 +6,7 @@ import Icon from 'components/common/Icon';
|
|||
import Table from 'components/common/Table';
|
||||
import Modal from 'components/common/Modal';
|
||||
import AccountEditForm from 'components/forms/AccountEditForm';
|
||||
import ButtonLayout from 'components/layout/ButtonLayout';
|
||||
import Pen from 'assets/pen.svg';
|
||||
import Plus from 'assets/plus.svg';
|
||||
import Trash from 'assets/trash.svg';
|
||||
|
|
@ -25,14 +26,14 @@ export default function AccountSettings() {
|
|||
|
||||
const Buttons = row =>
|
||||
row.username !== 'admin' ? (
|
||||
<>
|
||||
<ButtonLayout>
|
||||
<Button icon={<Pen />} size="small" onClick={() => setEditAccount(row)}>
|
||||
<div>Edit</div>
|
||||
</Button>
|
||||
<Button icon={<Trash />} size="small" onClick={() => setDeleteAccount(row)}>
|
||||
<div>Delete</div>
|
||||
</Button>
|
||||
</>
|
||||
</ButtonLayout>
|
||||
) : null;
|
||||
|
||||
const columns = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue