Fix mirror item key not being unique (#2371)

This commit is contained in:
Chenlei Hu
2025-01-29 11:13:04 -08:00
committed by GitHub
parent cbcbeab9d9
commit c07ec659a7

View File

@@ -5,7 +5,10 @@
:collapsed="!showMirrorInputs"
pt:root="bg-neutral-800 border-none w-[600px]"
>
<template v-for="([item, modelValue], index) in mirrors" :key="item.mirror">
<template
v-for="([item, modelValue], index) in mirrors"
:key="item.settingId + item.mirror"
>
<Divider v-if="index > 0" />
<MirrorItem