mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 17:15:37 +01:00
Teams context settings.
This commit is contained in:
parent
4429198397
commit
8f853ddb97
77 changed files with 317 additions and 272 deletions
|
|
@ -6,7 +6,7 @@ import Funnel from 'assets/funnel.svg';
|
|||
import Lightbulb from 'assets/lightbulb.svg';
|
||||
import Magnet from 'assets/magnet.svg';
|
||||
import styles from './ReportTemplates.module.css';
|
||||
import { useMessages, useNavigation } from 'components/hooks';
|
||||
import { useMessages, useTeamContext } from 'components/hooks';
|
||||
|
||||
function ReportItem({ title, description, url, icon }) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
|
|
@ -34,7 +34,7 @@ function ReportItem({ title, description, url, icon }) {
|
|||
|
||||
export function ReportTemplates({ showHeader = true }: { showHeader?: boolean }) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { renderTeamUrl } = useNavigation();
|
||||
const { renderTeamUrl } = useTeamContext();
|
||||
|
||||
const reports = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,5 +6,5 @@ export default function ReportsCreatePage() {
|
|||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Create Report | umami',
|
||||
title: 'Create Report | Umami',
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue