diff --git a/src/oj/ai/analysis.vue b/src/oj/ai/analysis.vue
index 4eee1c7..d760501 100644
--- a/src/oj/ai/analysis.vue
+++ b/src/oj/ai/analysis.vue
@@ -109,6 +109,9 @@ function onUsernameChange() {
onMounted(() => {
aiStore.fetchHeatmapData()
+ if (!aiStore.targetUsername) {
+ aiStore.fetchPinnedReport()
+ }
})
watch(
diff --git a/src/oj/ai/components/AI.vue b/src/oj/ai/components/AI.vue
index 46c5686..bc64e4f 100644
--- a/src/oj/ai/components/AI.vue
+++ b/src/oj/ai/components/AI.vue
@@ -10,7 +10,7 @@
-
+
{
- if (!aiStore.targetUsername) {
- await aiStore.fetchPinnedReport()
- }
-})