mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 03:20:46 +02:00
Headless windows installer (#5664)
This commit is contained in:
@@ -171,6 +171,12 @@ export function ServerExperienceProvider({ children }: { children: ReactNode })
|
||||
if (!config) {
|
||||
return;
|
||||
}
|
||||
if (!config.appVersion) {
|
||||
return;
|
||||
}
|
||||
if (loginEnabled && !isAuthenticated) {
|
||||
return;
|
||||
}
|
||||
|
||||
const shouldUseAdminData = (config.enableLogin ?? true) && config.isAdmin;
|
||||
// Use WAU estimate for no-login scenarios OR for login non-admin users
|
||||
@@ -353,4 +359,3 @@ export function useServerExperienceContext() {
|
||||
}
|
||||
return context;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user