fix user delete and Logo import
Some checks are pending
Create docker images / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run

This commit is contained in:
Francis Cao 2025-09-24 16:44:58 -07:00
parent ce1120c3ff
commit f11773ad3f
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ import { Row, Icon, Text, ThemeButton } from '@umami/react-zen';
import Link from 'next/link';
import { LanguageButton } from '@/components/input/LanguageButton';
import { PreferencesButton } from '@/components/input/PreferencesButton';
import { Logo } from '@/components/icons';
import { LogoSvg } from '@/components/icons';
export function Header() {
return (
@ -10,7 +10,7 @@ export function Header() {
<Row gap>
<Link href="https://umami.is" target="_blank">
<Icon size="lg">
<Logo />
<LogoSvg />
</Icon>
<Text>umami</Text>
</Link>

View file

@ -136,7 +136,7 @@ export async function deleteUser(
const teams = await client.team.findMany({
where: {
teamUser: {
members: {
some: {
userId,
role: ROLES.teamOwner,