add missing table body to hotkeys manager

This commit is contained in:
jeffvli
2026-01-04 14:31:18 -08:00
parent 834412ad31
commit 03c1fb0ff2
@@ -266,6 +266,7 @@ export const HotkeyManagerSettings = memo(() => {
/>
<div className={styles.container}>
<Table withColumnBorders withRowBorders>
<Table.Tbody>
{filteredBindings.map((binding) => (
<Table.Tr key={`hotkey-${binding}`}>
<Table.Td style={{ userSelect: 'none' }}>
@@ -301,8 +302,9 @@ export const HotkeyManagerSettings = memo(() => {
? 0.8
: 1,
outline: duplicateHotkeyMap.includes(
bindings[binding as keyof typeof BINDINGS_MAP]
.hotkey!,
bindings[
binding as keyof typeof BINDINGS_MAP
].hotkey!,
)
? '1px dashed red'
: undefined,
@@ -317,12 +319,14 @@ export const HotkeyManagerSettings = memo(() => {
<Table.Td>
<Checkbox
checked={
bindings[binding as keyof typeof BINDINGS_MAP]
.isGlobal
bindings[
binding as keyof typeof BINDINGS_MAP
].isGlobal
}
disabled={
bindings[binding as keyof typeof BINDINGS_MAP]
.hotkey === ''
bindings[
binding as keyof typeof BINDINGS_MAP
].hotkey === ''
}
onChange={(e) =>
handleSetGlobalHotkey(
@@ -357,6 +361,7 @@ export const HotkeyManagerSettings = memo(() => {
)}
</Table.Tr>
))}
</Table.Tbody>
</Table>
</div>
</>