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