diff --git a/frontend/src/components/pure/navbar/index.vue b/frontend/src/components/pure/navbar/index.vue index e9b84ee82e..e502d3d7d2 100644 --- a/frontend/src/components/pure/navbar/index.vue +++ b/frontend/src/components/pure/navbar/index.vue @@ -221,7 +221,7 @@ const unReadCount = ref(0); async function checkMessageRead() { - if (appStore.currentProjectId) { + if (appStore.currentProjectId && appStore.currentProjectId !== 'no_such_project') { unReadCount.value = await getMessageUnReadCount(appStore.currentProjectId); } }