mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 08:37:13 +01:00
Changed props for new Dropdown.
This commit is contained in:
parent
e5f820bd49
commit
c9d3a18af7
8 changed files with 12 additions and 12 deletions
|
|
@ -19,7 +19,7 @@ export function LanguageSetting() {
|
|||
items={options}
|
||||
value={locale}
|
||||
renderValue={renderValue}
|
||||
onChange={saveLocale}
|
||||
onSelect={saveLocale}
|
||||
menuProps={{ style: { height: 300, width: 300 } }}
|
||||
>
|
||||
{item => <Item key={item}>{languages[item].label}</Item>}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ export function TimezoneSetting() {
|
|||
<Dropdown
|
||||
items={options}
|
||||
value={timezone}
|
||||
onChange={saveTimezone}
|
||||
onSelect={saveTimezone}
|
||||
style={{ flex: 1 }}
|
||||
menuProps={{ style: { height: 300 } }}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue