other key index
This commit is contained in:
parent
493aee4df8
commit
ec964de5f0
@ -177,7 +177,7 @@ class Vbox extends preact.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function availableBtn(v, group, index) {
|
function availableBtn(v, group, index) {
|
||||||
if (!v) return <button disabled class='empty' key={(group + 1) * index} > </button>;
|
if (!v) return <button disabled class='empty' key={(group * 10 + index} > </button>;
|
||||||
const selected = vboxSelected[0] === group && vboxSelected[1] === index;
|
const selected = vboxSelected[0] === group && vboxSelected[1] === index;
|
||||||
|
|
||||||
// state not yet set in double click handler
|
// state not yet set in double click handler
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user