mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 12:35:38 +01:00
Change password to modal.
This commit is contained in:
parent
abf80cab8e
commit
ce56899704
7 changed files with 57 additions and 11 deletions
|
|
@ -2,7 +2,7 @@ import { useState } from 'react';
|
|||
import { defineMessages, useIntl } from 'react-intl';
|
||||
import Page from 'components/layout/Page';
|
||||
import PageHeader from 'components/layout/PageHeader';
|
||||
import WebsiteList from 'components/pages/WebsiteList';
|
||||
import WebsiteChartList from 'components/pages/WebsiteChartList';
|
||||
import { Button } from 'react-basics';
|
||||
import DashboardSettingsButton from 'components/settings/DashboardSettingsButton';
|
||||
import useFetch from 'hooks/useFetch';
|
||||
|
|
@ -37,7 +37,7 @@ export default function Dashboard({ userId }) {
|
|||
{!editing && <DashboardSettingsButton />}
|
||||
</PageHeader>
|
||||
{editing && <DashboardEdit websites={data} />}
|
||||
{!editing && <WebsiteList websites={data} showCharts={showCharts} limit={max} />}
|
||||
{!editing && <WebsiteChartList websites={data} showCharts={showCharts} limit={max} />}
|
||||
{max < data.length && (
|
||||
<Button className={styles.button} onClick={handleMore}>
|
||||
{formatMessage(messages.more)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue