mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
push to websites on login, css fix for teams screens
This commit is contained in:
parent
1c7f9da320
commit
5767208d8c
4 changed files with 6 additions and 3 deletions
|
|
@ -38,7 +38,7 @@ export function TeamMembersTable({
|
|||
}
|
||||
|
||||
return (
|
||||
<Row alignItems="center">
|
||||
<Row alignItems="center" maxHeight="20px">
|
||||
<TeamMemberEditButton teamId={teamId} userId={row?.user?.id} role={row?.role} />
|
||||
<TeamMemberRemoveButton
|
||||
teamId={teamId}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ export function TeamSettings({ teamId }: { teamId: string }) {
|
|||
user.role !== ROLES.viewOnly);
|
||||
|
||||
return (
|
||||
<Column gap="6">
|
||||
<Column gap="6" margin="2">
|
||||
<PageHeader title={team?.name} icon={<Users />}>
|
||||
{!isTeamOwner && !isAdmin && <TeamLeaveButton teamId={team.id} teamName={team.name} />}
|
||||
</PageHeader>
|
||||
|
|
|
|||
|
|
@ -41,6 +41,9 @@ export async function GET(request: Request, { params }: { params: Promise<{ team
|
|||
},
|
||||
},
|
||||
},
|
||||
orderBy: {
|
||||
createdAt: 'asc',
|
||||
},
|
||||
},
|
||||
filters,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ export function LoginForm() {
|
|||
setClientAuthToken(token);
|
||||
setUser(user);
|
||||
|
||||
router.push('/dashboard');
|
||||
router.push('/websites');
|
||||
},
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue