mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 16:22:02 +00:00
Merge aa/type-cleanup-py (work by marios, aa, wolv)
This commit is contained in:
@@ -29,10 +29,10 @@ const BranchSelect: FunctionComponent<{}> = () => {
|
||||
<Field label={t('BranchSelect.update_channel.label')} childrenContainerWidth={'fixed'}>
|
||||
<Dropdown
|
||||
rgOptions={Object.values(UpdateBranch)
|
||||
.filter((branch) => typeof branch == 'string')
|
||||
.filter((branch) => typeof branch == 'number')
|
||||
.map((branch) => ({
|
||||
label: tBranches[UpdateBranch[branch]],
|
||||
data: UpdateBranch[branch],
|
||||
label: tBranches[branch as number],
|
||||
data: branch,
|
||||
}))}
|
||||
selectedOption={selectedBranch}
|
||||
onChange={async (newVal) => {
|
||||
|
||||
@@ -26,10 +26,10 @@ const StoreSelect: FunctionComponent<{}> = () => {
|
||||
<Field label={t('StoreSelect.store_channel.label')} childrenContainerWidth={'fixed'}>
|
||||
<Dropdown
|
||||
rgOptions={Object.values(Store)
|
||||
.filter((store) => typeof store == 'string')
|
||||
.filter((store) => typeof store == 'number')
|
||||
.map((store) => ({
|
||||
label: tStores[Store[store]],
|
||||
data: Store[store],
|
||||
label: tStores[store as number],
|
||||
data: store,
|
||||
}))}
|
||||
selectedOption={selectedStore}
|
||||
onChange={async (newVal) => {
|
||||
|
||||
Reference in New Issue
Block a user