mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-01 05:55:09 +02:00
key fix (#5146)
This commit is contained in:
@@ -98,12 +98,6 @@
|
||||
$: if (element != null) {
|
||||
element.focus()
|
||||
}
|
||||
|
||||
function getContextKey (index: number): string {
|
||||
const contextId = displayData[index][0]
|
||||
|
||||
return contextId ?? index.toString()
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
|
||||
@@ -118,7 +112,6 @@
|
||||
kind="full-size"
|
||||
colorsSchema="lumia"
|
||||
lazy={true}
|
||||
getKey={getContextKey}
|
||||
>
|
||||
<svelte:fragment slot="item" let:item={itemIndex}>
|
||||
{@const contextId = displayData[itemIndex][0]}
|
||||
|
||||
Reference in New Issue
Block a user