mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-30 04:03:48 +02:00
Avatar lookup loading toast
This commit is contained in:
@@ -515,6 +515,7 @@
|
||||
if (hasFetched.value && !status.needsRefetch) return;
|
||||
|
||||
isLoadingSnapshot.value = true;
|
||||
toast.dismiss(loadingToastId.value);
|
||||
loadingToastId.value = toast.loading(t('view.charts.mutual_friend.status.loading_cache'));
|
||||
|
||||
try {
|
||||
@@ -561,10 +562,7 @@
|
||||
console.error('[MutualNetworkGraph] Failed to load cached mutual graph', err);
|
||||
} finally {
|
||||
isLoadingSnapshot.value = false;
|
||||
if (loadingToastId.value !== null && loadingToastId.value !== undefined) {
|
||||
toast.dismiss(loadingToastId.value);
|
||||
loadingToastId.value = null;
|
||||
}
|
||||
toast.dismiss(loadingToastId.value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user