Reworked settings screens.
This commit is contained in:
@@ -106,7 +106,6 @@ export function DateFilter({
|
||||
placeholder={formatMessage(labels.selectDate)}
|
||||
onSelectionChange={handleChange}
|
||||
renderValue={renderValue}
|
||||
style={{ width: 'auto' }}
|
||||
>
|
||||
{options.map(({ label, value, divider }: any) => {
|
||||
return (
|
||||
|
||||
@@ -22,7 +22,7 @@ export function ProfileButton() {
|
||||
|
||||
const handleSelect = (key: Key) => {
|
||||
if (key === 'profile') {
|
||||
router.push('/profile');
|
||||
router.push('/settings/profile');
|
||||
}
|
||||
if (key === 'logout') {
|
||||
router.push('/logout');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Button, Icon, DialogTrigger, Popover, Column, Label } from '@umami/react-zen';
|
||||
import { TimezoneSetting } from '@/app/(main)/profile/TimezoneSetting';
|
||||
import { DateRangeSetting } from '@/app/(main)/profile/DateRangeSetting';
|
||||
import { TimezoneSetting } from '@/app/(main)/settings/profile/TimezoneSetting';
|
||||
import { DateRangeSetting } from '@/app/(main)/settings/profile/DateRangeSetting';
|
||||
import { Icons } from '@/components/icons';
|
||||
import { useMessages } from '@/components/hooks';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user