mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
add page titles
This commit is contained in:
parent
b39ef68372
commit
3039ad9315
12 changed files with 39 additions and 12 deletions
|
|
@ -1,14 +1,16 @@
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import SettingsLayout from 'components/layout/SettingsLayout';
|
||||
import UsersList from 'components/pages/settings/users/UsersList';
|
||||
import useMessages from 'hooks/useMessages';
|
||||
|
||||
export default function UsersPage({ disabled }) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
if (disabled) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<AppLayout>
|
||||
<AppLayout title={formatMessage(labels.users)}>
|
||||
<SettingsLayout>
|
||||
<UsersList />
|
||||
</SettingsLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue