mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 17:54:30 +08:00
remove compatibility code for migration
This commit is contained in:
@@ -234,7 +234,7 @@
|
||||
</v-list-item>
|
||||
|
||||
<template :key="subCategory.id"
|
||||
v-for="subCategory in category.secondaryCategories">
|
||||
v-for="subCategory in category.subCategories">
|
||||
<v-divider v-if="!subCategory.hidden || query.categoryIds === subCategory.id" />
|
||||
<v-list-item class="text-sm" density="compact"
|
||||
:value="subCategory.id"
|
||||
@@ -978,9 +978,9 @@ function getCategoryListItemCheckedClass(category: TransactionCategory, queryCat
|
||||
};
|
||||
}
|
||||
|
||||
if (category.secondaryCategories) {
|
||||
for (let i = 0; i < category.secondaryCategories.length; i++) {
|
||||
if (queryCategoryIds && queryCategoryIds[category.secondaryCategories[i].id]) {
|
||||
if (category.subCategories) {
|
||||
for (let i = 0; i < category.subCategories.length; i++) {
|
||||
if (queryCategoryIds && queryCategoryIds[category.subCategories[i].id]) {
|
||||
return {
|
||||
'list-item-selected': true,
|
||||
'has-children-item-selected': true
|
||||
|
||||
Reference in New Issue
Block a user