enable frontend api key gen for no auth mode

This commit is contained in:
phact 2025-12-18 17:12:34 -05:00
parent c1816bfd16
commit f8835df636

View file

@ -146,7 +146,7 @@ function KnowledgeSourcesPage() {
// Fetch API keys // Fetch API keys
const { data: apiKeysData, isLoading: apiKeysLoading } = useGetApiKeysQuery({ const { data: apiKeysData, isLoading: apiKeysLoading } = useGetApiKeysQuery({
enabled: isAuthenticated, enabled: isAuthenticated || isNoAuthMode,
}); });
// API key mutations // API key mutations
@ -1392,7 +1392,7 @@ function KnowledgeSourcesPage() {
</Card> </Card>
{/* API Keys Section */} {/* API Keys Section */}
{isAuthenticated && ( {(isAuthenticated || isNoAuthMode) && (
<Card> <Card>
<CardHeader> <CardHeader>
<div className="flex items-center justify-between mb-3"> <div className="flex items-center justify-between mb-3">