chore: sort channel type for berry
This commit is contained in:
parent
93cbca6a9f
commit
af679e04f4
@ -340,7 +340,9 @@ const EditModal = ({ open, channelId, onCancel, onOk }) => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{Object.values(CHANNEL_OPTIONS).map((option) => {
|
{Object.values(CHANNEL_OPTIONS).sort((a, b) => {
|
||||||
|
return a.text.localeCompare(b.text)
|
||||||
|
}).map((option) => {
|
||||||
return (
|
return (
|
||||||
<MenuItem key={option.value} value={option.value}>
|
<MenuItem key={option.value} value={option.value}>
|
||||||
{option.text}
|
{option.text}
|
||||||
|
Loading…
Reference in New Issue
Block a user