mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 15:47:13 +01:00
fix reports permissions, long team overflow, language settings
This commit is contained in:
parent
f5bf148b2b
commit
d87ae84a29
4 changed files with 20 additions and 13 deletions
|
|
@ -26,7 +26,7 @@ export function useLocale() {
|
|||
}
|
||||
|
||||
async function saveLocale(value: string) {
|
||||
if (!messages[value]) {
|
||||
if (!messages[value] && !process.env.cloudMode) {
|
||||
await loadMessages(value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ export function NavButton({ showText = true }: TeamsButtonProps) {
|
|||
shadow="1"
|
||||
maxHeight="40px"
|
||||
role="button"
|
||||
style={{ cursor: 'pointer', textWrap: 'nowrap', outline: 'none' }}
|
||||
style={{ cursor: 'pointer', textWrap: 'nowrap', overflow: 'hidden', outline: 'none' }}
|
||||
>
|
||||
<Row alignItems="center" position="relative" gap maxHeight="40px">
|
||||
<Icon>{teamId ? <Users /> : <User />}</Icon>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue