Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: login status of some pages is lost

shuai3dfa2095f9f7
diff --git a/ui/src/utils/guard.ts b/ui/src/utils/guard.ts
index 966c17ee..3ca73e0e 100644
--- a/ui/src/utils/guard.ts
+++ b/ui/src/utils/guard.ts
@@ -267,7 +267,7 @@ export const initAppSettingsStore = async () => {
};
export const shouldInitAppFetchData = () => {
- if (isIgnoredPath('/install')) {
+ if (isIgnoredPath('/install') && window.location.pathname === '/install') {
return false;
}