Fix unsafe property access and stale await in DurationInput, ModalAccountInfo, FilesPage
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
5f597961c6
commit
b5dfae9835
3 files changed
+4
-2
No files matched your search
@@ -63,6 +63,6 @@ const is_active = computed(() => currentViewingUser.value.is_active);
|
||||
|
||||
onBeforeMount(async () => {
|
||||
await acctMgmtStore.getUserDetail(currentViewingUser.value.username);
|
||||
visitTime.value = currentViewingUser.value.detail.visits;
|
||||
visitTime.value = currentViewingUser.value.detail?.visits ?? 0;
|
||||
});
|
||||
</script>
|
||||
Reference in new issue
Block a user