mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Fix avatar time spent
This commit is contained in:
@@ -701,6 +701,7 @@
|
|||||||
|
|
||||||
function handleDialogOpen() {
|
function handleDialogOpen() {
|
||||||
setAvatarTagsDialog.value.visible = false;
|
setAvatarTagsDialog.value.visible = false;
|
||||||
|
timeSpent.value = 0;
|
||||||
memo.value = '';
|
memo.value = '';
|
||||||
treeData.value = {};
|
treeData.value = {};
|
||||||
getAvatarTimeSpent();
|
getAvatarTimeSpent();
|
||||||
@@ -709,6 +710,7 @@
|
|||||||
|
|
||||||
function getAvatarTimeSpent() {
|
function getAvatarTimeSpent() {
|
||||||
const D = avatarDialog.value;
|
const D = avatarDialog.value;
|
||||||
|
timeSpent.value = 0;
|
||||||
database.getAvatarTimeSpent(D.id).then((aviTime) => {
|
database.getAvatarTimeSpent(D.id).then((aviTime) => {
|
||||||
if (D.id === aviTime.avatarId) {
|
if (D.id === aviTime.avatarId) {
|
||||||
timeSpent.value = aviTime.timeSpent;
|
timeSpent.value = aviTime.timeSpent;
|
||||||
|
|||||||
Reference in New Issue
Block a user