chore: fix :key in tags modal

This commit is contained in:
WDaan 2022-12-30 11:05:25 +01:00
parent 0a175ccb43
commit 41fcbc46f2
3 changed files with 7 additions and 15 deletions

2
.env.development Normal file
View file

@ -0,0 +1,2 @@
VITE_USE_FAKE_TORRENTS=false
VITE_FAKE_TORRENT_COUNT=5

12
.gitignore vendored
View file

@ -1,18 +1,8 @@
.DS_Store
node_modules
/dist
# asdf config
.tool-versions
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
@ -23,7 +13,7 @@ yarn-error.log*
*.sln
*.sw?
# vuetorrent
vuetorrent/**
config
Downloads
.env.development

View file

@ -4,8 +4,8 @@
<v-col cols="12" md="6">
<v-subheader>{{ $t('modals.detail.pageTagsAndCategories.subHeaderTag') }}</v-subheader>
<v-list-item-group :value="activeTags" active-class="accent--text" multiple>
<template v-for="(item, index) in availableTags" :key="item.title">
<v-list-item link @click="addTag(item)">
<template v-for="(item, index) in availableTags">
<v-list-item link @click="addTag(item)" :key="item.title">
<v-list-item-content>
<v-list-item-title v-text="item" />
</v-list-item-content>
@ -18,8 +18,8 @@
<v-col cols="12" md="6">
<v-subheader>{{ $t('modals.detail.pageTagsAndCategories.subHeaderCategories') }}</v-subheader>
<v-list-item-group :value="activeCategory" active-class="accent--text">
<template v-for="(item, index) in availableCategories" :key="item.title">
<v-list-item link @click="setCategory(item)">
<template v-for="(item, index) in availableCategories">
<v-list-item link @click="setCategory(item)" :key="item.title">
<v-list-item-content>
<v-list-item-title v-text="item.name" />
</v-list-item-content>