enable frontend api key gen for no auth mode
This commit is contained in:
parent
c1816bfd16
commit
f8835df636
1 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ function KnowledgeSourcesPage() {
|
|||
|
||||
// Fetch API keys
|
||||
const { data: apiKeysData, isLoading: apiKeysLoading } = useGetApiKeysQuery({
|
||||
enabled: isAuthenticated,
|
||||
enabled: isAuthenticated || isNoAuthMode,
|
||||
});
|
||||
|
||||
// API key mutations
|
||||
|
|
@ -1392,7 +1392,7 @@ function KnowledgeSourcesPage() {
|
|||
</Card>
|
||||
|
||||
{/* API Keys Section */}
|
||||
{isAuthenticated && (
|
||||
{(isAuthenticated || isNoAuthMode) && (
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<div className="flex items-center justify-between mb-3">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue