mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-01 12:43:46 +02:00
use computed get local favorite group length
This commit is contained in:
@@ -165,7 +165,7 @@
|
||||
<template #title v-if="localAvatarFavorites[group]">
|
||||
<span :style="{ fontWeight: 'bold', fontSize: '14px', marginLeft: '10px' }">{{ group }}</span>
|
||||
<span :style="{ color: '#909399', fontSize: '12px', marginLeft: '10px' }">{{
|
||||
getLocalAvatarFavoriteGroupLength(group)
|
||||
localAvatarFavGroupLength(group)
|
||||
}}</span>
|
||||
<el-tooltip placement="top" :content="t('view.favorite.rename_tooltip')" :teleported="false">
|
||||
<el-button
|
||||
@@ -253,7 +253,7 @@
|
||||
} = storeToRefs(useFavoriteStore());
|
||||
const {
|
||||
showAvatarImportDialog,
|
||||
getLocalAvatarFavoriteGroupLength,
|
||||
localAvatarFavGroupLength,
|
||||
deleteLocalAvatarFavoriteGroup,
|
||||
renameLocalAvatarFavoriteGroup,
|
||||
newLocalAvatarFavoriteGroup
|
||||
|
||||
@@ -161,7 +161,7 @@
|
||||
<template #title>
|
||||
<span style="font-weight: bold; font-size: 14px; margin-left: 10px" v-text="group" />
|
||||
<span style="color: #909399; font-size: 12px; margin-left: 10px">{{
|
||||
getLocalWorldFavoriteGroupLength(group)
|
||||
localWorldFavGroupLength(group)
|
||||
}}</span>
|
||||
<el-tooltip placement="top" :content="t('view.favorite.rename_tooltip')" :teleported="false">
|
||||
<el-button
|
||||
@@ -254,7 +254,7 @@
|
||||
} = storeToRefs(useFavoriteStore());
|
||||
const {
|
||||
showWorldImportDialog,
|
||||
getLocalWorldFavoriteGroupLength,
|
||||
localWorldFavGroupLength,
|
||||
deleteLocalWorldFavoriteGroup,
|
||||
renameLocalWorldFavoriteGroup,
|
||||
removeLocalWorldFavorite,
|
||||
|
||||
Reference in New Issue
Block a user