Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Fix ID clash

Alicia Sykes3b47a88dff42
diff --git a/src/components/ItemGroup.vue b/src/components/ItemGroup.vue
index 7a182b91..7b39d44c 100644
--- a/src/components/ItemGroup.vue
+++ b/src/components/ItemGroup.vue
@@ -6,8 +6,8 @@
<div v-else class="there-are-items">
<Item
v-for="item in items"
- :key="item.id"
- :id="item.id"
+ :key="`${groupId}-${item.id}`"
+ :id="`${groupId}-${item.id}`"
:title="item.title"
:description="item.description"
:icon="item.icon"
diff --git a/src/data/item-data.json b/src/data/item-data.json
index b0776d71..5a66510d 100644
--- a/src/data/item-data.json
+++ b/src/data/item-data.json
@@ -30,7 +30,7 @@
]
},
{
- "id": "0",
+ "id": "1",
"name": "Server Management | Hosted",
"items": [
{